• May 2024
    M T W T F S S
     12345
    6789101112
    13141516171819
    20212223242526
    2728293031  
  • Latest Posts

  • Latest Comments

  • Archives

Posts Tagged ‘Insight’


MVC 3 Breaks Error Tracking in CodeSmith Insight

I finally have the Crash Reports working again with CodeSmith’s Insight. The release of MVC 3 provided a new way to deal with errors using the HandleErrorAttribute. The changes to the Global.asax.cs file look something like this: Application_Start     protected void Application_Start()     {         AreaRegistration.RegisterAllAreas();           // Added this when converting to MVC 3         RegisterGlobalFilters(GlobalFilters.Filters);           RegisterRoutes(RouteTable.Routes); […]

Unit Testing CodeSmith Insight

Technorati Tags: Unit Testing,MVC,Moq,CodeSmith,Insight As anyone that knows me knows, I use test driven development. So when I put together a Feedback page in my MVC (Model-View-Controller) site I started with my test. What should the test be? Let’s start with the User Story : As a site user (anonymous or logged in) I want […]