Using Ninject in a N-Tier MVC Application

Let's say the application structure looks like this (to keep things simple): MyApplication.UI (MVC) MyApplication.BLL (Class Library) MyApplication.DLL (Class Library) Ideally, we want »

Multiple Browsers in Selenium

You can easily run Selenium tests in multiple browsers without having to write duplicate tests*: The Problem [TestFixture] public class ExampleSeleniumTest { [Test] public void TestLogin_InternetExplorer( »

MVC Post Redirect Get Pattern

I have seen some strange things going on in MVC controllers, but one thing that really grinds my gears is the following code: public ActionMethod CreateUser( »

Using NLog in your Unit Test Framework

So I was writing some automation tests and I wanted to have some in-depth logging to know what is going on when the tests fail for »

MVC: View Models or ViewData?

I have seen a lot of questions on StackOverflow recently regarding the View Model vs ViewData/ViewBag argument. In my own opinion using a ViewModel is »