词条 | ASP.NET MVC | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
释义 |
| name = ASP.NET MVC | screenshot = | caption = | developer = Microsoft | status = Active | latest release version = 5.2.7 | latest release date = {{release date and age|df=yes|2018|11|28}}[1] | latest preview version = 6.0.0-rc2 | latest preview date = {{release date and age|df=yes|2016|05|17}}[2] | operating system = Cross-platform | platform = .NET Framework, Mono | programming language = C#, VB.NET[3] | genre = Web application framework | license = Apache License 2.0 | website = {{Official URL}} }} The ASP.NET MVC is a web application framework developed by Microsoft, which implements the model–view–controller (MVC) pattern. It is open-source software, apart from the ASP.NET Web Forms component which is proprietary. In the later versions of ASP.NET, ASP.NET MVC, ASP.NET Web API, and ASP.NET Web Pages (a platform using only Razor pages) will merge into a unified MVC 6.[4] BackgroundBased on ASP.NET, ASP.NET MVC allows software developers to build a web application as a composition of three roles: Model, View and Controller. The MVC model defines web applications with 3 logic layers:
A model represents the state of a particular aspect 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 information.[5] In April 2009, the ASP.NET MVC source code was released under the Microsoft Public License (MS-PL).[6] "ASP.NET MVC framework is a lightweight,[7] highly testable presentation framework that is integrated with existing ASP.NET features. Some of these integrated features are master pages and membership-based authentication. The MVC framework is defined in the System.Web.Mvc assembly."[8] The ASP.NET MVC framework couples the models, views, and controllers using interface-based contracts, thereby allowing each component to be tested independently.{{Citation needed|date=April 2017}} Apache License 2.0 releaseIn March 2012, Scott Guthrie announced on his blog that Microsoft had released part of its web stack (including ASP.NET MVC, Razor and Web API) under an open source license (Apache License 2.0).[9] Guthrie wrote that "Doing so will enable a more open development model where everyone in the community will be able to engage and provide feedback on code checkins, bug-fixes, new feature development, and build and test the products on a daily basis using the most up-to-date version of the source code and tests." The source code now resides on CodePlex. ASP.NET Web Forms was not included in this initiative for various reasons.[10] Release history
View enginesThe view engines used in the ASP.NET MVC 3 and MVC 4 frameworks are Razor and the Web Forms.[32][33] Both view engines are part of the MVC 3 framework. By default, the view engine in the MVC framework uses Razor Other view engines:
See also{{Portal|Free and open-source software|Microsoft}}
References1. ^{{cite web|url=https://www.nuget.org/packages/Microsoft.AspNet.Mvc|title=Nuget package Microsoft.AspNet.Mvc |accessdate=2019-01-10}} 2. ^{{cite web|url=https://github.com/aspnet/Mvc/releases|title=MVC Releases|work=Official Microsoft ASP.NET Site|accessdate=18 May 2016}} 3. ^{{cite web|url=http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/vb/intro-to-aspnet-mvc-3|title=Intro to ASP.NET MVC 3 (VB)|author=Rick Anderson|work=The Official Microsoft ASP.NET Site|accessdate=17 January 2015}} 4. ^{{cite web|url=http://www.asp.net/vnext/overview/aspnet-vnext/aspnet-5-overview#unify|title=ASP.NET 5 Overview|author=Tom FitzMacken|work=The Official Microsoft ASP.NET Site|accessdate=17 January 2015}} 5. ^1 {{cite web | url = http://weblogs.asp.net/scottgu/archive/2007/10/14/asp-net-mvc-framework.aspx | title = ASP.NET MVC Framework | author = Scott Guthrie | accessdate = 2007-10-23| archiveurl= https://web.archive.org/web/20071022044027/http://weblogs.asp.net/scottgu/archive/2007/10/14/asp-net-mvc-framework.aspx| archivedate= 22 October 2007 | deadurl= no}} 6. ^{{cite web | url = http://weblogs.asp.net/scottgu/archive/2009/04/01/asp-net-mvc-1-0.aspx | title = ASP.NET mvc 1.0 Source Released | author = Scott Guthrie | accessdate = 2009-04-02| archiveurl= https://web.archive.org/web/20090403084000/http://weblogs.asp.net/scottgu/archive/2009/04/01/asp-net-mvc-1-0.aspx| archivedate= 3 April 2009 | deadurl= no}} 7. ^{{Cite web|url=https://www.codeproject.com/Articles/864950/ASP-NET-MVC-vs-ASP-NET-WebForm-performance-compari|title=Webform vs MVC performance comparison done with 25 user load test.|last=Koirala|first=Shivprasad|date=27 Sep 2014|website=codeproject|archive-url=|archive-date=|dead-url=|access-date=27 Sep 2014}} 8. ^{{cite web|url=http://aspnet4.com/asp-net-4-thoery/asp-net-mvc/|title=ASP.NET MVC|work=aspnet4.com|accessdate=17 January 2015}} 9. ^{{cite web |url=http://weblogs.asp.net/scottgu/archive/2012/03/27/asp-net-mvc-web-api-razor-and-open-source.aspx |title=ASP.NET MVC, Web API, Razor and Open Source |author=Scott Guthrie |accessdate=29 March 2012 |archiveurl=http://weblogs.asp.net/scottgu/archive/2012/03/27/asp-net-mvc-web-api-razor-and-open-source.aspx |archivedate= 28 March 2012 |deadurl=no}} 10. ^{{cite web |url=http://www.hanselman.com/blog/ASPNETMVC4ASPNETWebAPIAndASPNETWebPagesV2RazorNowAllOpenSourceWithContributions.aspx |title=ASP.NET MVC 4, ASP.NET Web API and ASP.NET Web Pages v2 (Razor) now all open source with contributions |author=Scott Hanselman |accessdate=29 March 2012 |archiveurl=http://www.hanselman.com/blog/ASPNETMVC4ASPNETWebAPIAndASPNETWebPagesV2RazorNowAllOpenSourceWithContributions.aspx |archivedate=28 March 2012 |deadurl=no}} 11. ^{{cite web|url=http://go.microsoft.com/fwlink/?LinkId=144444|title=Download ASP.NET MVC 1.0 from Official Microsoft Download Center|publisher=Microsoft|accessdate=17 January 2015}} 12. ^{{cite web|url=http://haacked.com/archive/2009/12/16/aspnetmvc-2-rc.aspx|title=ASP.NET MVC 2 RC Released|author=Phil Haack|publisher=|accessdate=17 January 2015}} 13. ^{{cite web|url=http://haacked.com/archive/2010/02/04/aspnetmvc2-rc2.aspx|title=ASP.NET MVC 2 RC 2 Released|author=Phil Haack|publisher=|accessdate=17 January 2015}} 14. ^{{cite web|url=http://www.microsoft.com/downloads/details.aspx?FamilyID=C9BA1FE1-3BA8-439A-9E21-DEF90A8615A9&displaylang=en|title=Download ASP.NET MVC 2 RTM from Official Microsoft Download Center|publisher=Microsoft|accessdate=17 January 2015}} 15. ^1 {{cite web|url=http://www.asp.net/whitepapers/mvc3-release-notes|title=ASP.NET MVC 3|work=The Official Microsoft ASP.NET Site|accessdate=17 January 2015}} 16. ^{{cite web|url=http://weblogs.asp.net/scottgu/archive/2010/12/10/announcing-asp-net-mvc-3-release-candidate-2.aspx|title=ScottGu's Blog - Announcing ASP.NET MVC 3 (Release Candidate 2)|publisher=|accessdate=17 January 2015}} 17. ^{{cite web|url=http://www.microsoft.com/downloads/en/details.aspx?FamilyID=d2928bc1-f48c-4e95-a064-2a455a22c8f6&displaylang=en|title=Download ASP.NET MVC 3 RTM from Official Microsoft Download Center|publisher=Microsoft|accessdate=17 January 2015}} 18. ^{{cite web|url=http://aspnet.codeplex.com/wikipage?title=ASP.NET%20MVC%204%20RoadMap|title=ASP.NET|work=CodePlex|accessdate=17 January 2015}} 19. ^{{cite web|url=http://www.asp.net/whitepapers/mvc4-release-notes|title=ASP.NET MVC 4|work=The Official Microsoft ASP.NET Site|accessdate=17 January 2015}} 20. ^{{cite web|url=http://blogs.msdn.com/b/webdev/archive/2012/05/31/new-features-for-web-development-in-visual-studio-2012-rc.aspx|title=MSDN Blogs|publisher=Microsoft|accessdate=17 January 2015}} 21. ^{{cite web|url=http://blogs.msdn.com/b/webdev/archive/2012/08/15/visual-studio-2012-rtw.aspx|title=MSDN Blogs|publisher=Microsoft|accessdate=17 January 2015}} 22. ^{{cite web|url=http://www.asp.net/vnext/overview/latest/aspnet-and-web-tools-20122-release-notes-rtw|title=ASP.NET and Web Tools 2012.2 Release Notes|work=The Official Microsoft ASP.NET Site|accessdate=17 January 2015}} 23. ^{{cite web|url=http://www.asp.net/vnext/overview/latest/release-notes#TOC10|title=ASP.NET and Web Tools for Visual Studio 2013 Release Notes|author=Microsoft ASP.NET Team|work=The Official Microsoft ASP.NET Site|accessdate=17 January 2015}} 24. ^1 2 3 4 5 6 7 8 9 10 {{cite web|url=http://www.nuget.org/packages/Microsoft.AspNet.Mvc|title=NuGet Gallery - Microsoft ASP.NET MVC 5.2.2|publisher=|accessdate=17 January 2015}} 25. ^{{cite web|url=https://blogs.msdn.microsoft.com/webdev/2018/02/12/announcing-asp-net-mvc-5-2-4-web-api-5-2-4-and-web-pages-3-2-4/|title=Announcing ASP.NET MVC 5.2.4, Web API 5.2.4, and Web Pages 3.2.4|publisher=Microsoft|accessdate=14 March 2018}} 26. ^{{cite web|url=https://blogs.msdn.microsoft.com/webdev/2018/05/02/announcing-asp-net-mvc-5-2-5-web-api-5-2-5-and-web-pages-3-2-5/|title=Announcing ASP.NET MVC 5.2.5, Web API 5.2.5, and Web Pages 3.2.5|publisher=Microsoft|accessdate=4 May 2018}} 27. ^1 2 3 4 5 {{Cite web|title = aspnet/Mvc|url = https://github.com/aspnet/Mvc/releases|website = GitHub|accessdate = 30 September 2016}} 28. ^1 2 3 4 5 6 7 8 9 10 11 12 13 14 {{cite web|url=https://www.nuget.org/packages/Microsoft.AspNetCore.Mvc/|title=NuGet Gallery: Microsoft.AspNetCore.Mvc|accessdate=2018-03-16}} 29. ^{{cite web|url=https://github.com/aspnet/Mvc/releases/tag/rel%2F2.0.0|title=Release 2.0.0 · aspnet/Mvc|work=Official Microsoft ASP.NET Site|accessdate=2017-08-29}} 30. ^{{cite web|url=https://www.nuget.org/packages/Microsoft.AspNetCore.Mvc/2.1.0/|title=NuGet Gallery: Microsoft.AspNetCore.Mvc|accessdate=2018-05-30}} 31. ^{{cite web|url=https://www.nuget.org/packages/Microsoft.AspNetCore.Mvc/2.1.1/|title=NuGet Gallery: Microsoft.AspNetCore.Mvc|accessdate=2018-06-18}} 32. ^{{cite web|url=http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspx|title=ScottGu's Blog - Introducing "Razor" – a new view engine for ASP.NET|work=asp.net}} 33. ^{{cite web|url=http://www.asp.net/mvc/mvc3#BM_The_Razor_View_Engine|title=ASP.NET MVC 3|work=The Official Microsoft ASP.NET Site}} 34. ^{{cite web |url=http://www.hanselman.com/blog/ASPNETMVCPreview2ScreencastTutorials.aspx |title=Scott Hanselman's ASP.NET MVC Preview 2 Screencast Tutorials |accessdate=2008-10-13 |archiveurl=https://web.archive.org/web/20081029021535/http://www.hanselman.com/blog/ASPNETMVCPreview2ScreencastTutorials.aspx |archivedate=2008-10-29 |deadurl=no}} 35. ^MVCContrib 36. ^{{cite web|url=https://code.google.com/p/string-template-view-engine-mvc|title=string-template-view-engine-mvc - ASP.Net MVC ViewEngine for StringTemplate - Google Project Hosting|work=google.com}} 37. ^{{cite web|url=http://sparkviewengine.codeplex.com|title=Spark View Engine|work=CodePlex}} 38. ^{{cite web|url=https://code.google.com/p/ndjango/|title=ndjango - An implementation of the Django Template Language on the .NET platform, using the F# language. - Google Project Hosting|work=google.com}} Further reading
External links
Commercial and non-commercial projects
Sample projects
6 : .NET Framework|ASP.NET|Free software programmed in C Sharp|Software using the Apache license|Web frameworks|Microsoft free software |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。