ASP.NET MVC
What is ASP.NET MVC?
ASP.NET MVC is a part of the ASP.NET Web application framework. It is one of the two different programming models you can use to create ASP.NET Web applications, the other being ASP.NET Web Forms.
An MVC Application is designed and implemented using the following three attributes
http://i3.asp.net/asp.net/images/What-Is-MVC.png
- Model: The model contains the core information for an application. This includes the data and validation rules as well as data access and aggregation logic.
- View: The view encapsulates the presentation of the application, and in ASP.NET this is typically the HTML markup.
- Controller: The controller contains the control-flow logic. It interacts with the Model and Views to control the flow of information and execution of the application.
This separation of concerns allows flexibility in building and maintaining your application. For example, by separating the views, you can iterate on the appearance of your application without touching on any of the core business logic. You can also separate work by role, so that, for example designers can work on the views, while developers work on the model.
ASP.NET MVC brings the power of this development paradigm to ASP.NET development, allowing you to use your .NET development skills to build MVC applications.
It gives you:
- Complete control over your HTML Markup.
- Enables rich AJAX and jQuery integration.
- Allows you to create SEO-friendly URLs for your site.
- Makes Test Driven Development (TDD) easy.
ASP.NET MVC 4
ASP.NET MVC 4 is a framework for building scalable, standards-based web applications using well-established design patterns and the power of ASP.NET and the .NET Framework. It can be installed side-by-side with ASP.NET MVC 3. Install MVC 4 for free here.
New Features
- ASP.NET Web API.
- Refreshed and modernized default project templates.
- New mobile project template.
- Many new features to support mobile apps.
- Enhanced support for asynchronous methods.
- Read the full feature list in the Release Notes for ASP.NET MVC 4
Top Links
Documentation on New Features in ASP.NET MVC 4
- ASP.NET Web API
- Tutorial: ASP.NET MVC 4 Mobile Features
- New ASP.NET MVC 4 tutorial series.
- ASP.NET MVC 4 Roadmap
Installation
- ASP.NET MVC 4 for Visual Studio 2010:
- ASP.NET MVC 4 Web Platform Installer for Visual Studio 2010 SP1
- Download the standalone ASP.NET MVC 4 installer executable
- Visual Studio 2012 (includes ASP.NET MVC 4):
Getting Help and Reporting Issues
- Known issues and breaking changes list
- Get help and discuss ASP.NET MVC 4 in the forums
- Report a bug in ASP.NET MVC 4.
- Make a feature request
Other Languages
This article is also available in the following languages: