Month: <span>January 2011</span>

Announcing SpecsFor: Yet Another BDD Framework For .NET!

There is no shortage of Test/Behavior-Driven Development frameworks for .NET.  You have SpecFlow, Machine.Specifications (MSpec), and even Cucumber.  While these frameworks have been around for a while, I felt they weren’t right for me for various reasons, so I created SpecsFor.  SpecsFor is a TDD/BDD framework that has been naturally cultivated from use on two…

Read More

Handling Authorization Failures for AJAX Requests in ASP.NET MVC Applications

Authorization failures in ASP.NET MVC applications are usually not something you worry about.  The ASP.NET pipeline has solid support for this scenario and will redirect the user to your application’s login page for you automagically.  Unfortunately, things become more complicated once you introduce AJAX requests into the mix.  Without doing some extra work, you can…

Read More

Asynchronous Event Processing With The Application Bus

I’ve shown you how to use an Application Bus to dispatch events in your application, making it easier to craft code that is loosely coupled and more maintainable.  One of the enhancements I briefly mentioned was to make the event handlers execute asynchronously, thereby enabling your event handlers to run in parallel.  This is quite…

Read More