Asp.Net MVC introduction

Asp.Net MVC is an architecture to develop ASP.Net web applications in a different manner. Web applications developed with ASP.Net MVC are even more SEO (Search Engine) friendly. MVC is a standard design pattern some types of Web application will benefit from the MVC framework.

The MVC framework includes the following components:

Models: These are the classes that contain data. They can practically be any class that can be instantiated and can provide some data.

Controllers:These are the classes that will be invoked on user requests.The main task of these are to generate the model class object.

Views: These are simple pages containing HTML and C# code that will use the server side object.

Advantage of ASP.Net MVC based application:

  1. It manages the complexity by dividing an application into the model,the view and the controller.
  2. It does not use view state or server-base forms. It uses a front controller pattern that proceses web application requests through single controller. This enables you to design an application that supports a rich routing infrastructure.
  3. It provides better support for test-driven development.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s