ASP.NET MVC

[... The] ASP.NET MVC framework maps URLs to classes that are referred to as controllers. Controllers process incoming requests, handle user input and interactions, execute appropriate application logic and determine the response to send back to the client (display HTML, download a file, redirect to a different URL, etc.). In the case of displaying HTML, a controller class typically calls a separate view component to generate the HTML markup for the request. In an MVC application, the view only displays information; the controller handles and responds to user input and interaction.

 

Wikipedia:ASP.NET_MVC_Framework
http://www.asp.net/mvc/mvc4
Intro to MVC 4 (for vs2012)

 

Getting Started with MVC4 and VS2012

 

Source code

http://aspnetwebstack.codeplex.com/ -  the ASP.NET MVC, Web API, and Web Pages source code.

 

 

MVC4 Unit Testing link-dump

Unit Testing in ASP.NET MVC Applications
Unit Testing in MVC 4 Using Entity Framework
Creating Unit Tests for ASP.NET MVC Applications (C#)
Unit Testing an ASP.NET MVC 4 Controller using MS Test, Rhino Mocks, AutoMapper and Dependency Injection
Test-Driving ASP.NET MVC
Noninvasive Unit Testing in ASP.NET MVC4 – A Microsoft Fakes Deep Dive

  • Required Visual Studio 2013 Ultimate or some such.
  • I tried out Prig, but could not get it to work (still very much beta)

 

 

Visual Studio Unit Testing Framework - is labelled Visual Studio 2005 but linked-to from articles on MVC4, etc.

 

 

See Also

Programming.EntityFramework?
Programming.MVC
Javascript.MVC
Windows.ModelViewViewModel

 

Category Tags

MVC MVC4 Testing UnitTesting