Jump to content

ASP.NET MVC

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Baljeetsingh (talk | contribs) at 04:53, 17 January 2010 (Quick-adding category Living people (using HotCat)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The ASP.NET MVC Framework is a web application framework that implements the Model-view-controller pattern. 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.[1]

In April 2009, the ASP.NET MVC source code was released under the Microsoft Public License (MS-PL).[2]

The ASP.NET MVC Framework couples the models, views, and controllers using interface-based contracts, thereby allowing each component to be easily tested independently. By default, the view engine in the MVC framework uses regular .aspx pages to design the layout of the user interface pages onto which the data is composed. However, different View Engines can be used (for example, you can create a View Engine based on XSLT files).[3] Additionally, rather than the default ASP.NET postback model, any interactions are routed to the controllers using the ASP.NET 3.5 SP1 Routing mechanism. Views can be mapped to REST-friendly URLs.[1]

Release history

Release History
Date Version Notes
2007-12-10 ASP.NET MVC Framework launched as a Community Technology Preview
2008-03-05 ASP.NET MVC Preview 2 released
2008-05-01 ASP.NET MVC Preview 3 released
2008-07-16 ASP.NET MVC Preview 4 released[4]
2008-08-28 ASP.NET MVC Preview 5 released[5]
2008-10-16 ASP.NET MVC Beta released[6]
2009-01-27 ASP.NET MVC RC released[7]
2009-03-03 ASP.NET MVC RC 2 released[8]
2009-03-17 ASP.NET MVC 1.0 released[9]
2009-07-31 ASP.NET MVC 2.0 Preview 1 released[10]
2009-09-30 ASP.NET MVC 2.0 Preview 2 released[11]
2009-11-17 ASP.NET MVC 2.0 Beta released[12] (compatible with VS2008SP1 but not VS2010Beta2)
2009-12-17 ASP.NET MVC 2.0 RC released[13] (compatible with VS2008SP1 but not VS2010Beta2)

View Engines

The mainstream view engine used in the ASP.NET MVC Framework is the WebForms view engine, which ships with the framework itself.

Other view engines:

  • The MVCContrib library contains 8 alternate view engines. Brail, NDjango, NHaml, NVelocity, SharpTiles, Spark, StringTemplate and XSLT.
  • The StringTemplate View Engine utilizes a .NET port of the popular Java Templating engine, StringTemplate.
  • Spark is a view engine for the ASP.NET MVC (and the Castle Project MonoRail) frameworks.

References

  1. ^ a b Scott Guthrie. "ASP.NET MVC Framework". Retrieved 2007-10-23.
  2. ^ Scott Guthrie. "ASP.NET MVC 1.0 Source Released". Retrieved 2009-04-02.
  3. ^ "Scott Hanselman's ASP.NET MVC Preview 2 Screencast Tutorials". Retrieved 2008-10-13.
  4. ^ ASP.NET MVC Preview 4 Released - Shiju Varghese's Blog. Retrieved from http://weblogs.asp.net/shijuvarghese/archive/2008/07/16/asp-net-mvc-preview-4-released.aspx
  5. ^ ASP.NET MVC CodePlex Preview 5 Release Notes. Retrieved from http://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=aspnet&ReleaseId=16775.
  6. ^ http://go.microsoft.com/fwlink/?LinkID=129910&clcid=0x409
  7. ^ http://go.microsoft.com/fwlink/?LinkID=141184&clcid=0x409
  8. ^ http://go.microsoft.com/fwlink/?LinkId=144443
  9. ^ http://go.microsoft.com/fwlink/?LinkId=144444
  10. ^ http://go.microsoft.com/fwlink/?LinkID=154409
  11. ^ http://www.microsoft.com/downloads/details.aspx?FamilyID=d3f06bb9-5f5f-4f46-91e9-813b3fce2db1&displaylang=en
  12. ^ http://go.microsoft.com/fwlink/?LinkID=157068
  13. ^ http://www.microsoft.com/downloads/details.aspx?FamilyID=3b537c55-0948-4e6a-bf8c-aa1a78878da0&displaylang=en