You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today.

ASP.NET Using Model View Controller

Programming
03
byMary Lee

ASP.NET is more than the next version of Active Server Pages (ASP); it provides a unified Web development model that includes the services necessary for developers to build enterprise-class Web applications.

ASP.NET MVC is an open source web development framework from Microsoft that provides a Model View Controller architecture. ASP.net MVC offers an alternative to ASP.net web forms for building web applications.

Model–view–controller (MVC) is a software architectural pattern for implementing user interfaces. It divides a given software application into three interconnected parts, so as to separate internal representation of information from the way that information is presented to or accepted from the user. MVC is a framework for building web applications using an MVC (Model View Controller) design: The Model represents the application core (for instance a list of database records). The View displays the data (the database records). The Controller handles the input (to the database records). The MVC model also provides full control over HTML, CSS, and JavaScript.

3 Comments

ASP.NET MVC framework provides better testability of the Web Application and good support for test driven development too.

ASP.NET MVC framework doesn’t use View State and thus reduces the bandwidth of the requests to an extent.

MVC is a suitable architecture while developing web applications due to separation of concerns. We can use MVP (Model View Presenter) architecture for Windows application.