Posts tagged with c#
TypeTemplateSelector for WinRT
A cheater's way to get implicit DataTemplates in WinRT.
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
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?
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.
TweetSharp Entities
TweetSharp v2 introduces support for "Twitter Entites". Here's a first look.
Nested ViewModels
A way for ViewModel classes to communicate "upstream" in the hiearachy.
Type Inference for Constants in C#
I want C# constant declarations to work like Pascal!
Give WPF's DatePicker some Keyboard Love
Extend the WPF Toolkit's DatePicker control with new keyboard shortcuts.