try-catch-FAIL

Failure is inevitable

NAVIGATION - SEARCH

Simple Server-Client Pub-Sub using SignalR

The Pub-Sub pattern is a great way to keep interested parties up-to-date on changes in state.  For web applications, sometimes the thing you want to track state on lives on the server, and the interested parties live on the client.  Using SignalR, you can easily propagate events out to interested clients without spamming uninterested clients.  Here’s how to do it. More...

Intro to .NET Unit & Integration Testing with SpecsFor–Now on InfoQ!

My latest ramblings on SpecsFor are now available on InfoQ.  If you’re curious about SpecsFor and what it can do, my hope is that this article will enlighten you!

Voting for CodeStock 2015 Is Open!

The next CodeStock is approaching fast, and now it’s time for everyone to vote!  More...

Perfect PDF 2.0 Beta Released!

Finally!  The next iteration on the road to Perfect PDF 2.0 is available on NuGet! More...

Random Link Roundup–3/6/2015

Happy Friday, everyone!  It’s been a week of craziness.  Microsoft and Google, working together??  AngularJS 2.0 built on TypeScript??  These statements sound too crazy to be true, but yet, here we are! More...

SpecsFor.Mvc Updated (again!)

SpecsFor.Mvc 4.4.0 is now live!  This release includes improvements contributed by two very awesome individuals.  E-mail addresses containing a ‘+’ character now work correctly, and you can now wait for an element on a form to become visible using the fluent interface.  Read on to learn more about these changes! More...

Random Link Roundup–2/13/2015

Happy Friday the 13th, everyone!  Remember, if you decide to go camping tonight, watch out for hockey players! Courtesy of http://crustula.com/2013/09/13/happy-friday-the-13th/ More...

Using Inversion of Control with the Default ASP.NET MVC App Template

I routinely get questions about using an IoC container, like StructureMap, with ASP.NET Identity, particularly with the way it’s set up in the default ASP.NET MVC project template.  In this post, I’ll show you the quickest way to IoC-enable the starter app. More...

SpecsFor.Mvc and SpecsFor<Web> Helpers updated!

There are two new releases on the SpecsFor front today.  First, thanks to Neuhoffm again, SpecsFor.Mvc now supports radio buttons properly.  You can “check” a radio button by string value or by using a strongly-typed value: SUT.FindFormFor<Task>() .Field(m => m.Title).SetValueTo("use radio buttons") //By string... .Field(m => m.Complete, "false").Click() .Submit(); SUT.FindFormFor<Task>() .Field(m => m.Title).SetValueTo("use radio buttons") .Field(m => m.Complete, true).Click() //Or b... [More]

Random Link Roundup–2/6/2015

It’s Friday again already!  I only have a small collection of links this week, but hey, at least I posted something! More...