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

Assert.ThrowsException for async lambdas

UPDATE: Jake Ginnivan pointed out an inefficiency in my code below. I was awaiting the async method under test twice.

 

As I mentioned a

Read more >> Assert.ThrowsException for async lambdas

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

A big week of events in Ann Arbor / Detroit

I’m finishing up my calendar and planning for next week. It’s a big week for developers here in Southeast Michigan. There are three big events

Read more >> A big week of events in Ann Arbor / Detroit

Don’t Miss 1DevDay Detroit

If you’re looking for a conference to attend, don’t miss the top-notch, largest, longest running conference dedicated to programming in Michigan, 1DevDay-Detroit. The conference will

Read more >> Don’t Miss 1DevDay Detroit

Join me for a CodeMash precompiler workshop on C# async

I’m thrilled to be enjoying a new experience at CodeMash 2013: I’ll be hosting a precompiler workshop on C# 5.0 async programming techniques.

I’ve

Read more >> Join me for a CodeMash precompiler workshop on C# async

Slides and demos from MaineBytes async talk

I was honored to be invited to the speak at the Portland, ME user group last week. It was a great group of developers, and

Read more >> Slides and demos from MaineBytes async talk

Why you need to learn async in .NET

I had an opportunity to teach a quick class yesterday about what’s new in .NET 4.0.  One of the topics was the TPL (Task Parallel Library) and how it can make async programming easier.  I also stressed that this is the direction Microsoft i…

Read more >> Why you need to learn async in .NET

Why you need to learn async in .NET

I had an opportunity to teach a quick class yesterday about what’s new in .NET 4.0.  One of the topics was the TPL (Task Parallel Library) and how it can make async programming easier.  I also stressed that this is the direction Microsoft i…

Read more >> Why you need to learn async in .NET