Category: Development

  • April 14, 2009
    While writing some code I needed to be able to access the the App_Data directory in my ASPNET MVC app.…
  • April 13, 2009
    This post might be useful if you perform auto-registration of your components through an interface. Like this: AllTypes.Of<IController>().FromAssembly(typeof(Application).Assembly).Configure(reg =>reg.Named(reg.Implementation.Namespace.Split('.').Last().ToLowerInvariant() +…
  • April 7, 2009
    I was recently interviewed on the Spaghetti Code Podcast, hosted by Microsoft’s Jeff Brand. Jeff and I talked about Mocking…
  • March 30, 2009
    At times in the testing process you want to make sure that a certain method on a mocked object _does_not_…
  • March 24, 2009
    Never seen this one before until this morning. Well, I’ve seen the “not a valid Win32 application” error a ton…
  • February 19, 2009
    I’m a firm believer in the phrase: “What gets measured gets managed.” When it comes to unit testing code coverage…