Building a MVC2 Template, Part 7, Custom Web Errors and Adding Support

added by 37Stars
4/26/2010 9:30:48 AM

0 Kicks, 98 Views

In this installment we’ll add support for our custom web errors and add support for Elmah. First we need to write our specs. In the Controllers folder of the Nehemiah.Specs project add a class file named ErrorControllerSpecs.cs. Initially we’ll write a single generic error page. So there will be only a single test. Our specs look like this.


0 comments