ASP.NET MVC 4 is a framework for developing highly testable and maintainable Web applications that follow the Model-View-Controller (MVC) pattern.
The framework encourages you to maintain a clear separation of concerns— views for UI, controllers for handling user input, and models for domain logic.
ASP.NET MVC applications are particularly suited for unit testing and using test-driven development (TDD) techniques. ASP.NET MVC 4 makes it easy to write applications for the mobile web through adaptive rendering and device specific display modes.
ASP.NET MVC 4 also includes ASP.NET Web API, a framework for building and consuming HTTP services that can reach a broad range of clients including browsers, phones, and tablets. ASP.NET Web API is great for building services that follow the REST architectural style, plus it supports RPC patterns.
The name Microsoft ASP.NET MVC stands for Microsoft ASP.NET Model-View-Controller.
Additional Requirements: PowerShell 2.0, .NET 4, ASP.NET 4, and Visual Studio 2010 SP1 or Visual Web Developer 2010 SP1 are required to use this feature.
Requirements:
· .NET Framework 3.5
· Visual Sudio 2008
What's New in This Release: [ read full changelog ]
ASP.NET Web API:
· ASP.NET MVC 4 includes ASP.NET Web API, a new framework for creating HTTP services that can reach a broad range of clients including browsers and mobile devices. ASP.NET Web API is also an ideal platform for building RESTful services.
ASP.NET Web API includes support for the following features:
· Modern HTTP programming model: Directly access and manipulate HTTP requests and responses in your Web APIs using a new, strongly typed HTTP object model. The same programming model and HTTP pipeline is symmetrically available on the client through the new HttpClient type.
· Full support for routes: ASP.NET Web API supports the full set of route capabilities of ASP.NET Routing, including route parameters and constraints. Additionally, use simple conventions to map actions to HTTP methods.
· Content negotiation: The client and server can work together to determine the right format for data being returned from a web API. ASP.NET Web API provides default support for XML, JSON, and Fo...