- ASP.NET MVC View Model PatternsSince MVC has been released I have observed much confusion about how best to construct view models. Sometimes this confusion is not without good reason since there does not seem to be a ton of info…
- C# Fundamentals: Choosing the Right Collection ClassThe .NET Base Class Library (BCL) has a wide array of collection classes at your disposal which make it easy to manage collections of objects. While it’s great to have so many classes available, it…
- MVVM Compared To MVC and MVPAt the recent Calgary Tech Days event I did a presentation on building composite applications with WPF and Silverlight. One question that I get asked frequently when I get to the part of explaining…
- A good url regular expression ?I have been looking for a good first layer of validating an url to see if it is valid.
- C#/.NET Little Wonders: The Useful But Overlooked SetsOnce again we consider some of the lesser known classes and keywords of C#. Today we will be looking at two set implementations in the System.Collections.Generic namespace: HashSet<T> and SortedSet…
- ASP.NET AJAX callbacks to Web Methods in ASPX pagesMaking ASP.NET AJAX calls to web services has become increasingly popular these days. This approach not only provides a good separation of concerns but also makes it possible to create a truly ajax…
- Detecting the File Download Dialog In the BrowserIn the web application I work on we sometimes need to create PDF documents based on some user input. In most cases, these documents are fairly simple and quick to create, allowing us to create the …
- How to create a nightly backup of your SQL Azure database using the new Azure Mobile Services (Preview)This handy MSDN blog post already details 8 (yes EIGHT) different ways to backup your SQL Azure Database. But the easiest technique of all, by scheduling a job using Windows Azure Mobile Services, …
- Singleton I love you, but you’re bringing me down (re-uploaded)I was sad to find out the “codingwithoutcomments” site was taken down. For the sake of a specific post from there, I went to waybackmachine.com and got that post, and I’m pasting it here.
- MVVM Light Toolkit V3 Alpha 2: EventToCommand behaviorHere is another early release of the MVVM Light Toolkit V3 (Alpha 2). I decided to release gradually and early as soon as a new part of this new version is ready, to allow advanced users to install…
- Resolve 404 in IIS Express for PUT and DELETE VerbsIIS Express is a new web server that replaces the old Visual Studio web server (aka Cassini). IIS Express provides a number of benefits which you can read about here and they key aspect is that it …
- SQL Azure Federation – IntroductionThe SQL Azure Federation had been publically launched several weeks ago and this is one of the most existing features I’m looking forward. This might be the first post of SQL Azure Federation, and …
- C#/.NET Little Pitfalls: Stopwatch Ticks are not TimeSpan TicksC# is a wonderful language for modern programming. While everything in C# has a reason and a place, occasionally there are things that can be confusing for a developer who isn’t aware of what is ha…
- Debugging SOAP messages with WireSharkIf you’re debugging Web service calls, you may want to capture incoming requests so you can see exactly what’s reaching the service. If BizTalk’s hosting the Web service, it’s a simple process of a…
- How to validate SA Identity Numbers\[South African Specific\]
- HOWTO: Print to a USB Printer from DOS in Windows XPScott Hanselman has a post on his weblog about getting a shared network printer to work in DOS. That’s not really all that tough and actually got me thinking about a similar experience I had recently.
- Object Mother Pattern versus Test Data Builder PatternWhen creating my unit tests, I’ve been a big believer in the Object Mother pattern for creating state for my immutable value objects. Basically, I need to put the objects in a valid state in the co…
