Tag | ALM Posts

It's the the gift giving season, which naturally has me thinking a lot about what makes a great gift. There's the ubiquitous gift card, which is almost always a safe bet, but can seem a bit impersonal in my opinion. Then there are gifts that aren't really gifts at all. Gifts like this seem like a great gift idea from the giver's perspective, but frequently end up having some real long term cost to the receiver. It's usually the big ticket items that fall under this category: cars, recreational vehicles, ...
I may be a Microsoft aficionado, but the competition is still important, especially when it’s especially worthy. That’s why I subscribe to Amazon Web Services’ newsletter. A new issue arrived in my inbox recently and revealed AWS’ latest innovation: Amazon EC2 instances priced by bid. Specifically, according to AWS’ Web posting on the so-called EC2 Spot Instances option: “Spot Instances allow customers to bid on unused Amazon EC2 capacity and run those instances for as long as their bid exceeds the ...
I applaud efforts to encourage test driven development, however I find myself cringing at the examples being produced by the framework designers we are supposed to look up to. I've noticed this with the buzz around TDD and ASP.Net MVC and now that buzz is transferring to the Entity Framework. I think it is wonderful that these frameworks are designed with testability in mind. However, it is up to the developer to actually employ TDD when composing their applications. There are other ways to test, ...
I've not been using Visual Studio 2010 Beta 2 so the first thing I had to do was install this: Installing Visual Studio 2010 is really easy except for the fact that you have to reboot your machine at least 3 times - seems a bit suspect when it's almost 2010 but at least you know it's a genuine microsoft product... http://www.microsoft.com/vi... Press the button Download 2010 Beta 2 Now Then run the downloaded executable This will install Dot Net framework 4 ...
In this Issue: Andrej Tozon, nmarun, AmazedSaint, Shawn Wildermuth, Fredrik Normén, Damon Payne, Victor Gaudioso, Jeremy Likness(2), Alan Mendelevich, Dan Wahlin, Lee(2), Expression Blog, Andy Beaulieu, and Gill Cleeren. Shoutouts: Scott Guthrie Tweeted about Template Monster now having Silverlight Intro Templates and Silverlight Templates Einar Ingebrigtsen announced Balder 0.8.8.5 Release is out Victor Gaudioso has a list of all his videos: All of my Silverlight Video Tutorials in One Place: (Revisited) ...
Well, my attempt to resolve the issues I was having installing VSTS brought me to gave up after about 3 hours of uninstalling hotfixes and patches. I broke down and re-installed the only version I had previously been able to install without issue (Database Version). As a kicker, once I had it working, I tried to install the standard version "over the top" and it almost worked (failed during the last step). But that will have to do for now, because I need it to develop with, and at least it will compile. ...
As found in: http://www.personalmicrocos... public static Encoding GetFileEncoding(String FileName) { Encoding Result = null; FileInfo FI = new FileInfo(FileName); FileStream FS = null; try { FS = FI.OpenRead(); Encoding[] UnicodeEncodings = { Encoding.BigEndianUnicode, Encoding.Unicode, Encoding.UTF8 }; for(int i = 0; Result == null && i < UnicodeEncodings.Length; i++) { FS.Position = 0; byte[] Preamble = UnicodeEncodings[i].GetPrea... bool PreamblesAreEqual ...
Anyone that deals with Enterprise Content Management (ECM) shudders when the subject of email comes up. With good reason! It truly is a massive problem in almost any size of organization. The problem space is itself ill defined and not well understood by anyone. Governments and Corporations large and small struggle with the issue, mostly by either brute force archiving, or ignoring it. It plays a huge role in eDiscovery and can cause innumerable security and personnel issues when it is mismanaged. ...
A sure sign that you are in trouble with a customer, or your co-workers, is when you come to the realization that they truly do not understand what you are trying to tell them. By its very nature, IT work is very technical, filled with jargon and TLA’s (Three Letter Acronyms), and routinely deals with complex subject matter. Heck, I don’t even know what all the TLA’s of the day mean, and I am immersed in the cause nearly 24/7/365! So, if you are attempting to explain to a decision maker, why you ...
I ran into an error at work recently when I went to deploy my new SharePoint site, which was a site definition inside a SharePoint solution file. I was deploying the site to our build server. I added the WSP to the farm, deployed it to the web app, and then went to create the new site based on my template. However, I got an error almost immediately, after clicking create. The error was “The template you have chosen is invalid or cannot be found”. I check to make sure that the solution had been deployed ...
Technorati Tags: Silverlight Why Silverlight is the future This article was written by Rockford Lhotka several month ago. But, all the concepts are still relevant to day. This is just a great article. Silverlight, and the reason it almost instantly gains traction in any conversation with clients, is that it is independent of Windows. They like the idea that it works across Windows versions without worrying that Microsoft will fix some Windows thing and break their app. Silverlight gives the option ...
Thank you to all that came out on Dec 5th to the first Windows Phone Camp 2009 at the Tampa, FL Microsoft office. [See similar events in your area here] It was exciting to see so many participants made it to the event. By filling out the eval forms everyone helped prove that there is an need for more Mobile events in the area. It was interesting to see the crowd almost double later in the day once the beginner sessions passed. Here are few more pictures, compare top one to the bottom two: A huge ...
I was trying to figure out how all my messages were flowing between FriendFeed, Twitter and Facebook. Eventually that let to this nightmare. I am going to take my medication now. This is why the world will end in 2012. We are "sailing" toward communication Armageddon! Full Size Picture ...
*Moved to: Outlook 2010 Beta 2 and Add-Ins: Dynamics CRM, Team Companion, LinkedIn and Plaxo At SSW we are extensive users of Dynamics CRM. I wanted to give Office 2010 a go, but I had to make sure that the Dynamics CRM plug-in, and my other plug-ins worked. You would think that support for Office 2010 Beta 2 was poor! You would be right and wrong…Read more...Follow my new blog on http://blog.hinshelwood.com ...
From the many available IoC containers out there, LinFu is the one that I like most. This is because it is extremely simple to use, needs almost no configuration at all, and yet it is highly flexible and extensible, if you need to do some more complicated things (you can read two good introductory articles about LinFu IoC here and here). During the last weeks, I was doing some stuff with the ASP.NET MVC framework, and I wondered how easy or complicated it would be to use the application's IoC container ...
Microsoft makes an excellent digital music player (the Zune HD), a well-crafted networked storage and backup solution (Windows Home Server), a strong DVR/digital entertainment hub (Windows Media Center) and perhaps the industry leading gaming console (Xbox 360) which itself has a growing number of digital media capabilities. But can they all get along? That was my question almost a year ago, when I returned from the 2009 Consumer Electronics Show, which was riddled with a variety of incompatible, ...
In this Issue: Rob Eisenberg, Gill Cleeren(2), AfricanGeek, Brett Balmer, Tim Heuer, Alex Knight, Kirupa, Jeff Prosise(2), nmarun, Brad Abrams, Shayne Burgess, Michael Wolf, Micah Shoutouts: John Papa has a Silverlight MVP Twitter list up: Silverlight MVP List on Twitter, and a Silverlight Team Twitter List also ... if those don't give you enough Silverlight in Twitter, I'm not sure what to say :) Koen Zwikstra has a maintenance release of Silverlight Spy up: Silverlight Spy 3.0.0.6 Here's a link ...
I was giving an Entity Framework talk in Harrisburg, PA at the Central Penn Code Camp earlier today and afterwards I was talking with one of the developers that attended my session. He was a little hesitant to use Entity Framework because he didn't want to use it solely as his data layer. I explained that you don't have to use it directly as your data layer but could add another layer of abstraction. This is actually how I use Entity Framework almost exclusively. In short, how I do this is I build ...
In this Issue: Jeremy Likness, CLR Team Blog, Deborah Kurata, Tim Heuer, Ning Zhang, Jeff Prosise, Fredrik Normén, Antoni Dol, Adam Kinney, Jordan Knight, Andy Beaulieu, Kevin Dockx, and Al Pascual. Shoutouts: Jonathan van de Veen discusses the problems of upgrading to the beta in Adventures while building a Silverlight Enterprise application part #29 Victor Gaudioso has the materials up from My Silverlight 4 Presentation at LA C# Usergroup in Manhatten Beach, CA (12.01.09) including a Drop Demo ...
It looked like we should look a bit about LINQ fundamentals before we actually get into the core programming for our Silverlight twitter application. So we’ll look into LINQ for a few more posts, then we will proceed with our usual Silverlight stuff. Line INtegrated Query allows us to use Query language to select data from almost any type of data sources like XML, SQL, Objects, etc.... For more information about LINQ, visit this page, I don’t want to get deep into the details. You can get the sample ...
Well, here I go again. This is my third try at being a blogger. Some would say that tenacity is a good thing. My wife might disagree. I've been solving business problems using the Microsoft stack for almost eight years. I've written a lot of code that I'm not proud of and I've learned a few things along the way. My intention is to share a few morsels with the development community from which I've taken so much over the years. Most of this blog's posts will probably be "SharePointy". That's not to ...
Below is a Microsoft.IdentityModel configuration you might find in a web.config or app.config that hosts websites or webservices that leverage Claims based authentication and authorization. If your requirements require you to do this at runtime at the start of the app you can do the following.... void Application_Start(object sender, EventArgs e) { FederatedAuthentication.Ser... += new EventHandler<ServiceConf... ...
So I've been looking for a long time for a good outlook iphone sync solution. My work uses exchange, and does not expose the appropriate ports outside the firewall to allow for good syncing. Some alternatives 1) Forwarding, gets the email there, but now I have to delete 2x 2) xpressmail or other carrier provided forwarding solutions - works great, but not offered on iphone or android! 3) 3rd party forwarding solutions - most not supported by iphone, and $$ 4) normal exchange - 100% solution, if your ...
A week ago I got a new phone. This was planned, and yet not planned. Getting a new phone working is disruptive, and I didn’t want that disruption on Thanksgiving week. However, Verizon somehow de-provisioned my old phone from its data network and told me it would take 5 days to fix the problem. That meant being without mobile email access, liekly for a week, so I reasoned that getting a new phone would be actually less disruptive than fixing the old one. So I deactivated my Moto Q9m Windows Mobile ...
Here's a quick notes from the TDD session which I conducted some time back. Introduction Writing test before writing production code. Design as you go along. Follow Red-Green-Refactor paradigm Benefits Spot design flow early. Test before the production code is built. Identify poort requirements or requirement gaps. Reduced testing time. The test forms the functional document for your code. Quickly identify bugs. Reduces the cost of bugs in the long run. Low level regression test suite. Road blocks ...
c# 4.0 Part 1 The following are some of the new features and few interesting things you can do with c# 4.0. - Named and Optional Parameters - ExpandoObject - Interface with Python (and example) Program 1 class Program { // Optional parameters should be at the end static void PrintMessage(string name = "World", string greeting = "Hello") { Console.WriteLine("{0} {1}", greeting, name); } static void Main (string[] args) { PrintMessage("World", "Hello"); // prints "Hello World" PrintMessage(greeting:"Good... ...
One of the single most influential cost factors for software projects is code readability and understandability - and the most important factor for readability in turn lies in the adherence to Coding Style Guidelines. To enforce such guidelines, Microsoft has provided a free tool which checks a given set of source code files against a given set of style and consistency rules: MS StyleCop. The tool comes with quite a lot of predefined rules - however, they mirror the coding practice at MS and not ...
Part of my current project involves several batch processes that are run after normal working hours. Most of these jobs are doing either one of two things: importing data from a text file or exporting data to a text file. (Since my project is replacing an existing set of applications, we were required to maintain compatibility with the other systems that are sending or receiving data to or from us.) Our data is stored in a typical SQL Server 2005 database. We decided to use .Net based console applications ...
Updated on 01/05/2010 I was talking about this with some folks over the Christmas holiday and formulated some new thoughts on it. Several months back I finally became frustrated enough with paying roughly $150 per month for my cable television and internet service. I had been slowly adding packages to my cable service over the years (DVR, digital cable, HD channels, etc.) and it had all gotten out of control. I had several hundred channels to watch but maybe watched 10-15 of them on a regular basis ...
Pfew... our presentation at the XpDays is done. You can find all the materials google code at this link: http://agileacceptancetesti... audience was great, and Pascal and I enjoyed it. We'll probably be trying to find something new to prepare for next year ...
This typical problem is almost faced by all new developer working with asp.net. This behaviour is by design as ASP.NET tries to be efficient in storing sessions for users. Remember unless you store anything in session the session id value keep changing. If you want to tell ASP.NET that you want it to track user sessions, you can do one of 2 things: Store something in the session. Simple handle the Session_Start event in your GLobal.asax. The presence of this method will tell ASP.NET to track sessions ...
I've almost finished my first Umbraco project, which is probably the most awesome CMS I've ever seen. In case you've been under a rock (which, after having rooted around this thing, I am starting to feel like), Umbraco is a brilliant, ingenious, pure-XML-powered .NET CMS - sorry to say, but much better than DotNetNuke, and fully validates with XHTML 1.1 due to it's XML nature. It supports nested master pages, Intellisense with Visual Studio, custom user controls, XSLT rendering, Web Services and ...
I am learning all I can about the solid principles. Currently I am reading about the Single Responsibility Principle (A class should have only one reason to change). If a class has more than one responsibility, the responsibilities become coupled. This kind of coupling leads to fragile designs that beak in unexpected ways when changed according to Bob Martin. An example I have seen lately is the case of the widget.com public site and the widget.com customer site having the exact same code base except ...
Sorry for the delay in posting. I almost started a war of sort over my last ad “Don’t trust any one under 30?” on the social network LinkedIn. Well let me state right here this was an ad, with an attention getting subject line. Well on to my post for this week (yes I am trying to do post every week coming out by Monday. Since I last posted, I have spread my group (just a little bit) over the Internet. The group is now on FaceBook (as Gray Matters!), Google groups (as GrayMatters!) and webs.com (as ...
Let's face it, it needed a rename. Mitch.Web just lacks everything in terms of marketing, so I've re-branded my (currently error logging :P) framework to "The Evil Little Developer's Toolbox" in game with my EvilDev theme. I've also made advancements (not guaranteed to work yet) on my error logging framework, mostly in terms of a new Services Project, and the Logging Service. The logging service, is a WCF Service, designed to log errors to a database. The idea behind it, well, I generally focus my ...
What a difference a day makes…at least to some. While the Day 1 keynote at PDC seemed mostly like a news update on last year’s announcements, and a somewhat dry one at that, Day 2 gave developers some real “red meat.” It began with a presentation by Steven Sinofsky on Windows 7’s progress since its launch last month, including demos of the diverse array of hardware on which it now runs. Sinofsky then offered the ultimate crowd pleaser: he described the specs for a multi-touch Microsoft-designed laptop ...
There seems to be a too strong trend in too many product development organizations: This is the trend to only deliver; don’t get me wrong, delivering quality software on time and within budget is a good thing. The issue is that there is in many cases only focus on delivery of applications and not too much though and focus on how the operational aspect of that software will work. This observation applies to almost all types of projects, with integration projects being no exception. Probably one of ...
Today we are happy to be able to announce the availability of some Silverlight 4 book content. For existing Silverlight developers looking to get up to speed quickly with the features we are releasing the Silverlight 4 Overview. This is a little over 50 pages of content covering the new Silverlight 4 features. For the rest of this week using code SL4DaveBlog at checkout you can get the new Silverlight 4 content for only $5 almost half off the normal price. More details on the book site http://www.silverlightjumps... ...
Recently my company just released the first version of a new MVC web site: AlbumCredits.com. This project, led by Oskar Austegard, is was I consider a highly successful real-world implementation of MVC. In a time when most music these days is downloaded, the production and performance engineers, and recording professionals that work on the music don’t always get credit because there is no CD booklet to look through. Album Credits is almost like a LinkedIn for recording professionals. From the about ...
Atlassian is the company that I wish was mine. They make cool web products, they have a unique voice and they are successful. But recently they lost their minds, and starting giving their software away (almost). If you are a small organisation like me you can buy the main atlassian products (jira, confluence, greenhopper, bamboo, fisheye & crowd) for US $10.00 each. User limits apply. We are using Jira + Greenhopper for agile project management, and confluence for our project wiki. Confluence ...
This series of posts discusses the use of an Aspect-oriented programming approach for implementing the validation part of a business domain, using the ValidationAspects aspect library, that sits on top of the PostSharp aspect weaver and allows for placing Design by Contract - style attributes on properties and method arguments, as well as for easy runtime validation of an object's state. This is the second post of a three-part series that discusses the use of these validation aspects throughout the ...
Christmas is coming and so are the deals. Right now Best Buy has a huge discount (and you can find them in-stock) on the Samsung LED TVs. (I think I saved $960 off of the original price) I have needed a new TV ever since we moved. The main reason is we wanted something we could mount on the wall to keep away from the kids in the new house and my wife watched enough Food Network (she bakes cakes and cookies as her hobby) that the logo started to get burnt in. The black lines were definitely burnt ...
In this Issue: Avi Pilosof, Bill Reiss, Jeff Handley, Bea Stollnitz, Peter Bromberg, Deborah Kurata, Jesse Liberty, and Victor Gaudioso. Shoutouts: Interview with Bob Muglia and Steve Gillmor: Bob Muglia on Azure, Silverlight, and Realtime From the Microsoft Expression Blog: Modify the SketchFlow project settings Christian Schormann gives a list of SketchFlow and Blend at PDC ‘09 Iwan van Ee sent a link to me to his Application to view photos posted on panoramio.com. This is pretty cool, and he's ...
Windows Marketplace for mobile, which was up until now only available for Windows Mobile 6.5 users, is now officially made available for Windows Mobile 6.0 and 6.1 devices. This is great news since it adds almost the entire windows mobile user base to the marketplace equation in one scoop! You can catch more details below: Windows Marketplace for Windows Mobile 6.0 and 6.1 ...
More Adventures in MVVM I spend a lot of time writing ViewModels, which almost always implements INotifyPropertyChanged. For those who are not familiar with this interface, it includes a single event: PropertyChanged. That event contains a payload of the name of the property that changed. It exists as a standard way to notify observers that a property needs to be re-evaluated. Although I use it all the time, I have always believed that INotifyPropertyChanged has some serious shortcomings. One of ...
Had a short training on VMWare on Tuesday, the software development department finally got the official permission (read: get a license) to use VMWare Workstation. I’m no stranger to Virtual Machines (VMs) – started playing with Virtual PC 2005 a fwe years back and I understood the general concepts of hardware virtualization. The biggest problem I have with VMs in general is the slowness; I’d rather develop directly on my PC, which is faster. Can’t say I’ve delved deep into it, but I know enough ...
I like it when Microsoft bridges its technologies out to other platforms. I like the PHP Driver for SQL Server and the samples in the PHP On Windows Training Kit so much that I did a whole session on them at VSLive! last month. The ADO.NET Data Services (Astoria) bridges for PHP and Java are very exciting to me. The Silverlight plug-in for Eclipse, the Azure SDK for Java, and the Windows 7 support for Eclipse are all good stuff. To add to these recent developments, Microsoft has announced its acquisition ...
*Moved to: Installing Visual Studio 2008 Team Foundation Server SP1I have been trying since SP1 was released to get it installed at Aggreko, but due to our global, three time zones, development team and release schedules it has been very difficult to get some time set aside for it. Now that I am leaving, last day is Tuesday 17th November, there was more of an apatite to take the hit on time and get it installed.Read more...Follow my new blog on http://blog.hinshelwood.com ...
Getting the soap message sent to a third party web service is done by a few settings in the app.config of your client. <?xml version="1.0" encoding="utf-8" ?><configuration> <system.diagnostics> <sources> <source name="System.ServiceModel.M... > <listeners> <add name="xmit" /> </listeners> </source> </sources> <switches> <add name="DefaultSwitch" value="Information" /> </switches> <sharedListeners> <add ...
There are numerous useful types available in XNA that will significantly help you design and build your next game. Here are two of the most useful (in my opinion) and how you can use them in your game (I will focus on mostly 2-dimensional uses). Vectors Vectors are amazing! They are seriously, probably one of the coolest types on the block, especially when taking into account that they are used for almost everything in games. The most common forms of Vectors used in XNA are the Vector2 and the Vector3, ...