by Santhakumar Munuswamy
Posted on 02 February 2015
ASP.NET MVC
Introduction
This article explains ASP.NET MVC and with an evaluation.
Overview
ASP.NET MVC is an open source platform for building web application using MVC architecture introduced by Microsoft. MVC is a nothing; it was a Model-View-Controller and initially called name “Thing-Model-View-Editor
Figure: Model-View-Controller
The MVC design pattern defined as three layers like Model, View, and Controller
Model: It is a collection of classes or library file for the business layer with a specific domain functional. The business layer contains set of business rules, entities and components for data manipulation purpose.
View: It is a representation of application user interface (i.e. Presentation layer)
Controller: It is a collection of class that handles interaction from the user request and response to display the information to the view
Microsoft first released the ASP.NET MVC1 with including code development and test driven development (TDD) like unit tests.
Microsoft was the second release of the ASP.NET MVC2 and provides automatic scaffolding with customizable templates, attribute-based model validation on both client & server and strongly typed html helpers.
Microsoft’s third release of the ASP.NET MVC3 and provides razor view engine, data annotation, and improved model validation, flexibility, dependency resolutions, global actions filters, support java script, JQuery validation, json binding and NuGet.
Microsoft was the fourth release of the ASP.NET MVC4 and provides ASP.NET WebAPI, default project templates, Mobile project template using JQuery Mobile and etc.
Microsoft was the fifth released the ASP.NET MVC5 and provides One Asp.Net, ASP.NET Identity, Bootstrap, and Authentication Filters and attribute routing.
ASP.NET MVC Evolution Table
S.No
|
Version
|
Features
|
1
|
MVC6
|
- I will update list of new feature coming soon
|
2
|
MVC5
|
- One Asp.NET
- ASP.NET Identity
- Support Bootstrap CSS
- Authentication Filters with filter overrides
- Attribute Routing
- Support Separation
- Easily testable (i.e. TDD- Test Driven Development)
- Support Concurrent Development
- Interface based architecture
|
3
|
MVC4
|
- ASP.NET WebAPI
- Provide default project template
- Provide Mobile project template (i.e. JQuery Mobile)
- Support Asynchronous Controllers
- Support binding
|
4
|
MVC3
|
- Razor view engine
- Support Data Annotations
- Fine-tune model validation
- Flexibility
- Provide Global action filters
- Support javascript better performance
|
5.
|
MVC2
|
- Support automatic scaffolding with customizable templates
- Attribute based model validation
- Strongly typed html helpers
- Fine-tune Visual Studio Tooling
- Fine-tune API and features
|
6
|
MVC1
|
- Baselined version introduced by Microsoft
|
Conclusion
This article will help to understand ASP.NET MVC and respective versions in Visual Studio.NET.