Author Archive: David Anderson
I have received several comments and emails requesting the source code downloads for both Session 01 and Session 02 of the MVVM series on my YouTube channel. They are listed below. DCOMProductions.MvvmDemo DCOMProductions.MvvmDemo (Session 2)
A common practice is to do property-level validation in the property setter of an object like the following. Most of the time though, this violates the DRY principle (Don’t Repeat Yourself), because you may need to do the same exact…
Read more
If you have tried to create a new Team Project from Visual Studio 2010 against a TFS 2012 server, you have undoubtedly encountered this error message. After doing some research, it’s quite apparent that some changes were made to Team…
Read more
Get it now. Released on 9/5/2012. I personally have been waiting a while for this, and now I can use Visual Studio 2012 without my eyes hurting so much.
I was excited that the base class library in .NET 4.5 now includes native support for working with Zip files, but in my excitement I overlooked System.IO.Compression.FileSystem. The name of the assembly is actually misleading, because the namespace is still…
Read more
I’m very excited about this. First off, I hate third-party dependencies. I always try to accomplish everything with the platform I use, in this case the BCL. A friend of mine was asking me to write a blog article on…
Read more
Apparently there is fuss going on about what WinRT (Windows Runtime) is and how it affects .NET. I’m going to talk about that based on my understanding of WinRT. WinRT, or the Windows Runtime, is theoretically the successor to Win32….
Read more
Probably the most common question I get from people new to WPF is how to bind the Visibility of a control based on a System.Boolean value. WPF provides IValueConverter in System.Windows.Data specifically for converting one type to another and back…
Read more
I finished the screencast and have uploaded it to YouTube here. I also have attached the source code to this blog post, but I wanted to comment on a few post-video changes I have made. I removed App.config from the…
Read more
This thread on Msdn was one I came across, and I felt it needed a much better answer. His question in short, is what is the difference between null, Empty, and “” in C#. I assume that you know what…
Read more