This is an old revision of this page, as edited by Jdavidb (talk | contribs) at 18:19, 9 April 2009 (what is the Microsoft Public License?). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Revision as of 18:19, 9 April 2009 by Jdavidb (talk | contribs) (what is the Microsoft Public License?)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)The ASP.NET MVC Framework is a Model-view-controller framework which Microsoft is adding to 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 table. A Controller handles interactions and updates the model to reflect a change in state of the application. A View extracts necessary information from a model and renders a user interface to display that.
In April 2009, the ASP.NET MVC source code was released under the Microsoft Public License (MS-PL).
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). 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.
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 |
2008-08-28 | ASP.NET MVC Preview 5 | released |
2008-10-16 | ASP.NET MVC Beta | released |
2009-01-27 | ASP.NET MVC RC | released |
2009-03-03 | ASP.NET MVC RC 2 | released |
2009-03-17 | ASP.NET MVC Version 1 | released |
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 4 alternate view engines. Brail, NHaml, NVelocity, 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
- ^ Scott Guthrie. "ASP.NET MVC Framework". Retrieved 2007-10-23.
- Scott Guthrie. "ASP.NET MVC 1.0 Source Released". Retrieved 2009-04-02.
- "Scott Hanselman's ASP.NET MVC Preview 2 Screencast Tutorials". Retrieved 2008-10-13.
- 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
- ASP.NET MVC CodePlex Preview 5 Release Notes. Retrieved from http://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=aspnet&ReleaseId=16775.
- http://go.microsoft.com/fwlink/?LinkID=129910&clcid=0x409
- http://go.microsoft.com/fwlink/?LinkID=141184&clcid=0x409
- http://go.microsoft.com/fwlink/?LinkId=144443
- http://go.microsoft.com/fwlink/?LinkId=144444
External links
- Microsoft ASP.NET MVC home page
- Scott Guthrie 2009-04-01: Announcing ASP.NET MVC 1.0 and Open Source release
- Scott Guthrie 2009-01-27: What's new with ASP.NET MVC Release Candidate
- Scott Guthrie 2008-10-16: What's new with ASP.NET MVC Beta
- Scott Guthrie 2008-09-02: What's new with ASP.NET MVC Preview 5
- Scott Guthrie 2008-07-14: What's new with ASP.NET MVC Preview 4
- Scott Guthrie 2008-05-27: What's new with ASP.NET MVC Preview 3
- Microsoft Developer Network (MSDN) library documentation for ASP.NET MVC
- Microsoft ASP.NET MVC tutorials
- ASP.NET MVC CodePlex project - the source code to ASP.NET MVC
- (audio podcast) Jeffery Palermo discusses MVC and ASP.NET MVC
- ASP.net MVC Vs ASP.net Web Form- Shiju Varghese's Blog
- October 2007 MVC Framework intro at ALT.NET conference
Web frameworks | |
---|---|
.NET | |
C++ | |
ColdFusion | |
Common Lisp | |
Haskell | |
Java | |
JavaScript | |
Perl | |
PHP | |
Python | |
Ruby | |
Rust | |
Scala | |
Smalltalk | |
Other languages |