Page views:
5873

ASP.NET MVC provides an alternative approach to traditional ASP.NET web development often referred to as web forms by applying an architectural approach. The MVC or Model-View-Controller pattern splits an application into three separate and distinct layers, the Model layer, the View layer and the Controller layer, each with a very specific set of responsibilities

MVC Design Pattern

      

Model

The Model layer contains all of the application's business logic, the code that describes how your business works. Often, Model objects retrieve and store model state in a database.

View

The View layer is the responsible for interacting with the user, visualizing the model, and communicating with the controller on the user's behalf. ASP.NET MVC Views will consist of standard HTML pages that include JavaScript behavior and CSS styling. The View layer is not limited to HTML, however, and can render plenty of other things such as JSON, XML, or even custom return types. It's the View layer's job to render anything that your application needs in order to create an immersive user experience.

Controller

This Controller Layer is the responsible for controlling the application flow and interaction between the Model and the View. Controllers are the brains of an ASP.NET MVC application, requesting data from the Model layer and choosing the correct method of getting that data to the user. Note that the Controller does not perform any of this work directly, its real job is to delegate as much as possible to the model and view layers so that they can do the real work.

Reference

http://msdn.microsoft.com/en-us/library/dd381412%28v=vs.108%29.aspx

 


If you enjoyed this article, get email updates (it's free).


Related Articles
  • Creating ASP.NET MVC 4 web application with Empty project templateThis article will show you how to start building ASP.NET MVC 4 web application with Empty project template. Empty project template is basic ASP.NET MVC website generating no code and providing you with nothing to start with. Adding a Model, View & Controller with Empty project template helps you to understand quite clearly than starts with Internet Application template.
  • Introduction to ASP.NET MVCASP.NET MVC provides an alternative approach to traditional ASP.NET web development often referred to as web forms by applying an architectural approach. The MVC or Model-View-Controller pattern splits an application into three separate and distinct layers, the Model layer, the View layer and the Controller layer, each with a very specific set of responsibilities
  • Dynamic Accordion menu or Vertical menu using jQuery in ASP.NET MVCNavigation menu is most important in any web applications. While developing web applications, I used to create stuff more interactive by using jQuery and CSS. It’s quite different to create dynamic navigation menu in ASP.NET MVC. Whether it’s a horizontal or vertical menu, the idea remains same. This article will show you how to create jQuery Accordion menu dynamically in ASP.NET MVC web applicati...
  • Adding a Controller in ASP.NET MVC 4This article will show you how to create a Controller in ASP.NET MVC 4 application. This Controller Layer is the responsible for controlling the application flow and interaction between the Model and the View. Controllers are the brains of an ASP.NET MVC application, requesting data from the Model layer and choosing the correct method of getting that data to the user.
  • Getting started with ASP.NET MVC 5 and AngularJS AngularJS is a powerful javascript framework for dynamic web applications. It is fully extensible for works well with other libraries. The resulting environment is expressive, readable and easy to develop.
  • CRUD operation in ASP.NET MVC using Web API and AngularJS AngularJS is a powerful Javascript framework for dynamic web applications. We often use AngularJS to develop single page application. Here we will explore how to create CRUD (Create Read Update Delete) operation in ASP.NET MVC using Web API and AngularJS.
  • Getting started with ASP.NET MVC 4 I hope you are getting excited to start building ASP.NET MVC 4 application. Visual Studio 2012 IDE is used to build MVC 4 application, also you can install MVC 4 components for Visual Studio 2010. This article will show you that how to start building your first ASP.NET MVC 4 application with internet application template.

Comments
comments powered by Disqus

Thanks for downloading..!!

×
Subscribe via Email
    
message to display in fancybox