ASP.NET MVC is a part of the ASP.NET Web application framework. It is one of the two different ASP.NET development models you can use to develop ASP.NET Web applications, the other being ASP.NET WebForms.
ASP.NET MVC applications are designed and implemented using the Model, View, Controller pattern.
- Model: The model contains the fundamental information for an application and represents the state of a particular aspect of the application. This includes the data and validation rules as well as data access and aggregation logic.
- View: The view accepts information from the controller and renders the presentation or user interface of the application, 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. The controller updates the Model to reflect a change in state of the application, and then passes information to the appropriate View.
This separation of entities enables you to have agility and flexibility in the development and maintenance of your ASP .NET Web applications. By separating the views, you can modify the appearance of your application without effecting the core business logic. You can also separate the development of your application. For example, designers can work on the views, while developers work on the model.
ASP.NET MVC brings the power of the Model, View, Controller development concept to ASP.NET development. The MVC framework is made up of interchangeable parts that enable the development of streamlined ASP.NET applications.
Some of the core features of ASP.NET MVC are:
- Complete control over your generated HTML
- Enables extensive AJAX and jQuery integration
- Allows you to create search friendly URLs for your website without using IIS rewrite rules
- Simplifies the implementation of application unit testing
- Eliminates the abstraction of using ASP.NET WebForms
- Enables extensibility by the allowing creation of your own interface or inheriting from base classes
- Utilizes methods rather than files, which are handled by a routing engine that locate the appropriate view
Please contact us to learn more about how custom web development with ASP.NET MVC could enhance your website.
Sharing is caring:
web development asp.net