Here in this article we will discuss about Asp.net MVC and the benifits of Asp.net MVC.
MVC is a framework for building web applications using a MVC (Model View Controller) design pattern.
Also you can check out:
- Marquee example in asp.net
- ASP.NET provider model tutorial:
- Lock users who provide bad passwords in Asp.Net:
- Logging In Users Programmatically in Asp.Net:
It is is an architectural pattern used in software engineering for separating the components of a Web application.
The MVC pattern helps decouple the business logic from the presentation layer which in turn gives you the flexibility to make changes to a layer, without affecting the other.
ASP.NET MVC enforces a "separation of concerns". The Model does not know anything about the View. The View does not know there’s a Controller. This makes MVC applications easier to test and maintain.
The Model:
It is the part of the application that handles the logic for the application data. like model objects retrieve data (and store data) from a database.
The View:
It is the parts of the application that handles the display of the data like the views are created from the model data.
The Controller:
It is the part of the application that handles user interaction.
For example controllers read data from a view, control user input, and send input data to the model.
Benefits: The below are the benifits of Asp.net MVC
1- If you have a large team of developers and want to do parallel development where there are separate teams working on the view, controller and model.
2- It will give meaningful, RESTful URL’s.
3- It Enables the full control over the rendered HTML.
4- It will provide Easy integration with JavaScript frameworks.
5- There is no ViewState and PostBack events.
MVC is a framework for building web applications using a MVC (Model View Controller) design pattern.
Also you can check out:
- Marquee example in asp.net
- ASP.NET provider model tutorial:
- Lock users who provide bad passwords in Asp.Net:
- Logging In Users Programmatically in Asp.Net:
It is is an architectural pattern used in software engineering for separating the components of a Web application.
The MVC pattern helps decouple the business logic from the presentation layer which in turn gives you the flexibility to make changes to a layer, without affecting the other.
ASP.NET MVC enforces a "separation of concerns". The Model does not know anything about the View. The View does not know there’s a Controller. This makes MVC applications easier to test and maintain.
The Model:
It is the part of the application that handles the logic for the application data. like model objects retrieve data (and store data) from a database.
The View:
It is the parts of the application that handles the display of the data like the views are created from the model data.
The Controller:
It is the part of the application that handles user interaction.
For example controllers read data from a view, control user input, and send input data to the model.
Benefits: The below are the benifits of Asp.net MVC
1- If you have a large team of developers and want to do parallel development where there are separate teams working on the view, controller and model.
2- It will give meaningful, RESTful URL’s.
3- It Enables the full control over the rendered HTML.
4- It will provide Easy integration with JavaScript frameworks.
5- There is no ViewState and PostBack events.