Blog2018-03-07T03:15:43+00:00
Jun 42015

VSLive 2015 in Austin, TX!

By |June 4th, 2015|Categories: ASP.NET, C#, General Technology, IIS, MVC, SQL Server, Testing|Tags: , |0 Comments

I'm writing this post from the Austin airport as I'm getting ready to head home after a very educational 4 days in Austin for VSLive 2015. I wanted to quickly write down a lot of key points from all of the sessions I attended. I figure [...]

Feb 32015

Custom 401 error pages in MVC alongside Windows Authentication

By |February 3rd, 2015|Categories: ASP.NET, IIS, MVC|Tags: , , |2 Comments

We use windows authentication for a lot of our web apps, but also want to serve up a custom 401 error page when users are not authorized to log in. This is tricky because this specific 401 error is handled directly by IIS, rather than the [...]

Jan 32015

Libraries for Unit Testing MVC5 Controllers

By |January 3rd, 2015|Categories: C#, General Technology, MVC, Testing|Tags: , |0 Comments

There are various libraries available to help you unit test your controller actions, returned views and models, and action results with MVC. One that I have recently started using is TestStack.FluentMVCTesting. This library allows you to perform actions on your controllers within your unit tests, and [...]

Aug 282014

Mocking a generic ObjectSet or IObjectSet for Unit Testing Entity Framework Business Logic

By |August 28th, 2014|Categories: C#, Testing|Tags: |0 Comments

Up until this point, I had mostly been using nHibernate for my ORM solution in most applications I work on. So when I started diving into Entity Framework (EF) models and trying to write unit tests against logic that lives in EF entities, I first encountered [...]

Go to Top