Social Networks

ASP.NET MVC Framework

The ASP.NET MVC Framework is a web application framework that implements the model-view-controller pattern. Based on ASP.NET, it allows software developers to build a Web application as a composition of three roles: Model, View and Controller.

A model represents the state of a particular aspect of the application. Frequently, a model maps to a database table with the entries in the table representing the state of the application.

A controller handles interactions and updates the model to reflect a change in state of the application, and then passes information to the view. A view accepts necessary information from the controller and renders a user interface to display that.

Source: wikipedia


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

ASPNET-MVC

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.

asp-netmvc-directory

This separation of entity allows you to have nimbleness and 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 2

ASP.NET MVC 2 is available as a standalone framework that can be used with ASP.NET 3.5 SP1 and Visual Studio 2008. ASP.NET MVC 2 is also available through the installation of Visual Studio 2010 and can be used with ASP.NET 4.

Source: www.asp.net


Summary

aspnet-mvc-overview
If you are looking to build your web applications using a MVC approach, I think you’ll find this new ASP.NET MVC Framework option very clean and easy to use. It will enable you to easily maintain separation of concerns in your applications, as well as facilitate clean testing and TDD.

  1. It will enable you to easily maintain separation of concerns in your applications, as well as facilitate clean testing and TDD.

  2. LuciusMerritt says:

    ASP.NET, it allows software developers to build a Web application as a composition of three roles: Model, View and Controller.

Leave a Reply

Your email address will not be published. Required fields are marked *

Allowed Tags:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>