MVC Definition
MVC is short for Model View Controller and is a three layer pattern for
isolating business logic from user interface. The user interacts via a user
interface. The controller then handles these inputs and directs them to the
model.
Mvc versions
10 December 2007
|
ASP.NET MVC CTP
|
13 March 2009
|
ASP.NET MVC 1.0[7]
|
16 December 2009
|
ASP.NET MVC 2.0 RC[8]
|
4 February 2010
|
ASP.NET MVC 2.0 RC 2[9]
|
10 March 2010
|
ASP.NET MVC 2.0[10]
|
6 October 2010
|
ASP.NET MVC 3.0 Beta[11]
|
9 November 2010
|
ASP.NET MVC 3.0 RC[12]
|
10 December 2010
|
ASP.NET MVC 3.0 RC 2[13]
|
13 January 2011
|
ASP.NET MVC 3.0[14]
|
20 September 2011
|
ASP.NET MVC 4.0 Developer Preview[15]
|
15 February 2012
|
ASP.NET MVC 4.0 Beta[16]
|
31 May 2012
|
ASP.NET MVC 4.0 RC[17]
|
15 Aug 2012
|
ASP.NET MVC 4.0[18]
|
Perquisites for MVC
The ASP.NET MVC 3 run-time components require the
following software:
.NET Framework version 4.
ASP.NET MVC 3 Visual Studio 2010 tools require the following software:
Visual Studio 2010 or Visual Web Developer 2010 Express.
.NET Framework version 4.
ASP.NET MVC 3 Visual Studio 2010 tools require the following software:
Visual Studio 2010 or Visual Web Developer 2010 Express.
Features o f Asp.net MVC
·
Support for Multiple View
Engines.
·
Global Action Filters.
·
ViewBag Property For Views.
·
JSON Binding Support.
·
Url Routing.
Download Link [MVC3]
http://www.microsoft.com/en-in/download/details.aspx?id=1491
Structure:
What is a Controller?
Controllers will be the receivers and dispatchers. When a user sends a request by clicking a link or button then the request is handed over to the controller (There can be many controllers in the website and the correct controller to handle a particular request will be identified by the URL pattern) the controller will have a set of methods (show, index, etc...) defined and one of these methods will do the necessary tasks to generate a response. Basically, Controller will be the intermediary who will communicate with the Modal and generate an appropriate View and send that to the client.
What is a Model?
Model handles the database interactions for the application. The Model will return the data which is requested by the Controller.
What is a View?
View is the HTML output that a user sees when he makes a page request. This view will be rendered based on the Controllers' request and by the data that is passed in by the Model.
View is the HTML output that a user sees when he makes a page request. This view will be rendered based on the Controllers' request and by the data that is passed in by the Model.
Asp.net Mvc Definition
ReplyDelete