Pular para o conteúdo

Conheça Walt Disney World

ASP.NET MVC Framework

ASP.NET MVC Framework
Developer(s) Microsoft
Stable release 3.0 / January 13, 2011; 8 months ago (2011-01-13)
Preview release 4.0 / September 14, 2011; 12 days ago (2011-09-14)
Development status Active
Written in C#
Operating system Cross-platform
Platform .NET Framework, Mono
Type Web application framework
License Microsoft Public License
Website www.asp.net/mvc

The ASP.NET MVC Framework is a web application framework that implements the model-view-controller (MVC) pattern. Based on 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 application[citation needed]. 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.

Contents

Release history

Release history
Date Version
10 December 2007 ASP.NET MVC CTP
13 March 2009 ASP.NET MVC 1.0[3]
10 March 2010 ASP.NET MVC 2.0[4]
13 January 2011 ASP.NET MVC 3.0[5]

View engines

The mainstream view engine used in the ASP.NET MVC Framework is the Web Forms view engine, which ships with the framework itself. 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.[6] Additionally, rather than the default ASP.NET postback model, any interactions are routed to the controllers using the ASP.NET Routing mechanism. Views can be mapped to REST-friendly URLs.[1]

Other view engines:

References

Further reading

  • Jon Galloway, Scott Hanselman, Phil Haack, and Scott Guthrie, Professional ASP.NET MVC 2, Wrox, 2010, ISBN 0470643188
  • Jeffrey Palermo, Ben Scheirman, Jimmy Bogard, and Eric Hexter, ASP.NET MVC 2 in Action, Manning Publications, 2010, ISBN 193518279X
  • Steven Sanderson, Pro ASP.NET MVC 2 Framework, Second Edition, Apress, 2010, ISBN 1430228865
  • Jonathan McCracken, Test-Drive ASP.NET MVC, Pragmatic Bookshelf, 2010, ISBN 1934356530
  • Stephen Walther, ASP.NET MVC Framework Unleashed, Sam's, 2009, ISBN 0672329980

Open-source projects

Sample projects

External links

Personal tools
  • Log in / create account
Namespaces
Variants
Actions
Navigation
Toolbox
Print/export