Recent Posts
Background Tasks in Async Methods
How to start a "fire and forget" Task from an async method without a warning.
WebRequest.GetResponseAsync (with timeout) for PCL
A handy extension method for the Portable Class Library version of WebRequest
File Attachments using MVC and Entity Framework
Uploading and retrieving files from an SQL Server database using Entity Framework and MVC.
Smuggler - A Twitter Timeline Downloader
I've knocked up a simple tool to download a user's Twitter timeline, using Budgie.
Generic Repositories Part Deux
In which I admit that I'm coming around to the idea of generic repositories.
Generic Data Access Repositories
I've never quite "gotten" generic repositories for data access. Here's why. Tell me why I'm wrong!
Refactoring Halfwit's Coroutines to C# 5
Ditching MadProps.MvvmLight's coroutine support in favour of async/await.
Refactoring Halfwit to use C# 5
Making use of C# 5's new async and await keywords in Halfwit.
Internal Constructors for Read Only Classes?
If a class can't be changed, why give it a public default constructor?
Introducing Budgie
Introducing a simple, asynchronous Twitter client library.
A Dynamic DataTemplate Generator for WPF
A DataTemplateSelector that will generate a DataTemplate on the fly from your object's properties.
A Touch-Scrolling Attached Behaviour for ScrollViewer
A quick-and-dirty way to make lists scrollable by dragging
MadProps.MvvmLight 2.0.0
Version 2.0.0 of MadProps.MvvmLight is out! Here's the good oil.
The MadProps.MvvmLight ScreenConductor
A new addition to the MadProps.MvvmLight contrib project
NuGet with MEF
Continuing from the previous post, we look at using MEF runtime recomposition with NuGet.
Using NuGet for Application Plug-Ins
A quick rundown on using NuGet as a "plug-in management system" for your application.
Stupid Dynamic Tricks
How I learned to stop worrying and love the dynamic keyword in C#.
MadProps.AppArgs is on Nuget!
Your new favourite command-line parsing class is now available via Nuget.
A Curious Halfwit HashSet Bug
Halfwit threw an exception! Let's track down the bug.
Hacking jQuery-Validate in ASP.NET MVC
ASP.NET MVC uses data annotations to generate "unobtrusive" validation code, but you can do it by hand too!
Toggling Enabled Controls with jQuery
How to enable and disable a control when a drop-down selection changes.
Asycnhronous Service Calls with Coroutines
Calling a WCF service asynchronously with a little help from MadProps.MvvmLight
Blocking a User with Coroutines
An example of using coroutines with MVVM Light in Halfwit
Customizing the WPF DatePicker's Watermark
WPF's DatePicker control has an annoying "Select a date" watermark which you can't customize. OR CAN YOU?
CommandBindings with MVVM
A way to use traditional WPF routed commands with the MVVM pattern.
Memory Usage, Autofac and Transient Objects
Seeing high memory usage in your Autofac-driven application? This might explain why.
ViewModel Resolution with Autofac
How I use Autofac to determine the correct ViewModel to use for a given Model object.
