Many aspects of the MVVM architecture for Silverlight and WPF development permit easy and seamless integration with the XAML markup. However, the time consuming and awkward task of raising property changed notifications for every bounded view model property leaves much to be desired. Luckily, we can leverage dynamic proxies, generated during runtime, to automatically raise property changed notification events, significantly reducing the amount of effort, time, and number of lines required to implement custom view models. [Full Article]
Randomize all the values in an IEnumerable or choose a random value using extension methods and LINQ, enumerating the collection only once. [Full Article]
Render Microsoft Charting 3D Charts the easy way in ASP.NET MVC in a straight-forward, cacheable, and easy to implement solution. [Full Article]
Visual Studio's included ASP.NET Development Server includes the project base directory name in the default debugging URL for non-compiled ASP.NET websites. This default virtual path causes trouble with non-relative Uri's, including CSS and JavaScript includes [Full Article]
Most projects will not require loading of references during runtime, but a few will. An example of when one will need to load assemblies during runtime occurs anytime one serializes objects loaded from plugins. Upon serialization, if the plugin assembly has not already been loaded, you will get a System.Runtime.Serialization.SerializationException, "Unable to find assembly..." exception.
One of the most elegant solutions is to search your plugin directory(ies) and load the plugin assembly on demand when it is needed. This prevents you from loading unnecessary plugins simply to serialize one plugin object. Moreover, accomplishing this is much easier than one may first believe. [Full Article]