danderson.io > .net > Page 2
Tag Archive: .net
Testing has always interested me to some degree. Not from the perspective of manual testing or quality assurance, but from the perspective of the developer behind the desk who just wrote the code. How can a developer, who is accountable…
Read more
In the third part of my MVVM Series on my YouTube channel I educate how you can use the IDataErrorInfo interface in WPF using MVVM to do validation. This approach applies equally to your models and view models, although in…
Read more
Browsing through some of my old answers on StackOverflow, I came across this question I had answered regarding verbatim identifiers in the C# language. I want to take a moment to talk about this mysterious language feature, because it actually…
Read more
About a month ago I posted a teaser video that I would be doing a screencast on developing a fully functional custom window chrome for WPF. Well, it’s here. I did miss my mark by 8 days though, I had…
Read more
INotifyPropertyChanged, how I love you implement you in every object over and over. How I can’t make you a reusable base class because it causes me to break important inheritance hierarchies. I love it, but I hate it because it…
Read more
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
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