Language

How to implement test-driven development (TDD) in ASP.NET MVC projects, and how to use mock objects.

  1. TDD with ASP.NET MVC

    This walkthrough shows you how to develop an ASP.NET MVC application in Visual Studio using the test-driven development (TDD) approach.

  2. Unit Testing

    This Pluralsight video provides an introduction to unit testing.

  3. TDD and Dependency Injection

    In this blog post, Phil Haack demonstrates Test Driven Development and Dependency Injection with ASP.NET MVC.

  4. Building Testable Applications

    Justin Etheredge shows how to design a testable ASP.NET MVC application

  5. Mocks and Tests for Role-Based Objects

    This article describes how to use TDD with mock objects to design object-oriented code in terms of roles and responsibilities, not categorization of objects into class hierarchies.

  6. Behavior-Driven Development with SpecFlow, WatiN and WatiN Test Helpers

    In this MSDN article, Brandon Satrom provides a primer on Behavior-Driven Development.

  7. Behavior-Driven Development with SpecFlow and WatiN

    This video accompanies the MSDN article and also provides a primer on Behavior-Driven Development.

  8. Behavior Driven Development (BDD) with SpecFlow and ASP.NET MVC

    In this blog post, Steve Sanderson talks about the major tools that have come out of the BDD stable.

  9. ASP.NET MVC Content Map

    See "Dependency Injection in ASP.NET MVC applications" and "Testing" in the ASP.NET MVC Content Map.

  10. Troubleshooting Windows Azure Web Sites in Visual Studio

    This tutorial shows how to use Visual Studio tools that help debug an application while it runs in a Windows Azure Web Site.

Essential Videos

Pluralsight

Microsoft has made it possible for you to enjoy this Pluralsight training free of charge. In addition, you can watch more videos free of charge from Microsoft.

1. Introduction and Prerequisites

15 mins

2. OWIN and Katana

51 mins

3. Identity and Security

54 mins

4. Bootstrap

47 mins

5. Web API 2

50 mins

6. Entity Framework 6

61 mins

7. SignalR

49 mins

8. Web Developer Tools and Visual Studio 2013

44 mins

Sponsored By: Pluralsight

Unlock access to 3,000+ dev, IT and creative courses that you can watch anytime, anywhere.

Starting at $29/mo.

free trial subscribe now

ASP.NET MVC Books

Microsoft's Jon Galloway recommends these books for learning ASP.NET MVC:

Pro ASP.NET MVC 4

Pro ASP.NET MVC 4

by Adam Freeman

Professional ASP.NET MVC 4

Professional ASP.NET MVC 4

by Jon Galloway, Phil Haack, Brad Wilson, K. Scott Allen