Category: ASP.Net

ASP.NET Testing with a Service Layer

Unit testing is becoming a norm for developers and ASP.NET is no different. Although TDD is baked into Ruby on Rails, and some JavaScript frameworks for quite some time now, ASP.NET testing is a new thing for some… Read More

Mock HttpContext using Moq

In a project I’ve been working on, I needed a way to be able to test Windows authentication to an ASP MVC app. Having that authentication rest at the controller level made sense, but from a testing perspective… Read More