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]
When SQL Server creates a non-optimal execution plan (ie: the query could be significantly improved with the correct index), SQL Server stores the missing index information for later retrieval. This information is extremely useful in optimizing database performance, yet is rarely utilized by software developers. Since, adding the correct index, when needed, is the fastest way to reduce table scans and improve application performance, the missing index feature of SQL Server warrants periodic attention. [Full Article]
Similar to hard drives, each time data in a SQL index is added, deleted, or updated, the index has the potential to become fragmented. The ultimate result is that SQL queries will take a less than optimal time to execute. Just as defragging a hard drive can improve performance, defragging SQL Server indexes can improve performance significantly. [Full Article]