Async, Exceptions and Library Design

Hat tip to Stephen Toub for discussing this with me and helping to describe the solution.

At my CodeMash precompiler, I mentioned how the C#

Read more >> Async, Exceptions and Library Design

Testing async Methods in C# 5

Last week I promised that I’d write a blog post on using Assert.ThrowsException() to test async methods. Before I get to that, let’s go over

Read more >> Testing async Methods in C# 5

Testing without ExpectedExceptionAttribute

The Windows Store version of the Microsoft Test Framework does not include an ExpectedExceptionAttribute class. I’ve already received questions on how people should go about

Read more >> Testing without ExpectedExceptionAttribute

Reader Question: Member Initializers vs. Constructors

I received a very interesting question from a reader earlier this week:

I have a question for you about Item 12 in Effective C# (2nd

Read more >> Reader Question: Member Initializers vs. Constructors

WinRT: App Activation, Resume and Suspend

This post doesn’t have much code, but there’s a few important points to remember for working with WinRT apps and application suspend and activation.

When

Read more >> WinRT: App Activation, Resume and Suspend

Win 8 exploration: Simple Databinding

This is another in my post series on WinRT programming for C# developers. For review, I’m blogging my notes on running and modifying each of

Read more >> Win 8 exploration: Simple Databinding

WinRT Samples: Running Background Tasks

The next Win8 sample shows the general form of the background task contract for Windows 8 Metro applications.

There are two parts to implementing

Read more >> WinRT Samples: Running Background Tasks

CodeMash async talks are live on InfoQ

The joint async talks that Jon Skeet and I presented at CodeMash are now live on InfoQ.  Jon and I co-presented two hours of content

Read more >> CodeMash async talks are live on InfoQ

Win8 exploration: Controls sample

This post is part of my Windows 8 / WInRT exploration and notes.  This time, I’m digesting the WinRT Controls sample.

This sample has quite

Read more >> Win8 exploration: Controls sample

Windows 8 for C# Developers: Intro and Splash Screen

Now that the Windows 8 Consumer Preview is out, I’m starting a series of blog posts on creating WinRT / Metro applications using C# and

Read more >> Windows 8 for C# Developers: Intro and Splash Screen