ASP.NET MVC

ASP.NET MVC
Developer(s)Microsoft
Final release
5.2.8 / 12 April 2022; 2 years ago (2022-04-12)[1]
Preview release
6.0.0-rc2 / 17 May 2016; 8 years ago (2016-05-17)[2]
Repository
Written inC#, VB.NET[3]
Operating systemCross-platform
Platform.NET Framework, Mono
SuccessorASP.NET Core
TypeWeb application framework
LicenseApache License 2.0
Websitedotnet.microsoft.com/apps/aspnet/mvc Edit this at Wikidata

ASP.NET MVC is a web application framework developed by Microsoft that implements the model–view–controller (MVC) pattern. It is no longer in active development[citation needed]. It is open-source software, apart from the ASP.NET Web Forms component, which is proprietary.

ASP.NET Core has since been released, which unified ASP.NET, ASP.NET MVC, ASP.NET Web API, and ASP.NET Web Pages (a platform using only Razor pages). MVC 6 was abandoned due to Core and is not expected to be released. Core is currently planned to merge into ".NET 5".[4]

Some well known sites that use ASP.NET MVC include Stack Overflow,[5] Microsoft, GoDaddy and Ancestry.com.[6][needs update]

Background

Based 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:

  • Model (business layer)
  • View (display layer)
  • Controller (input control)

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.[7]

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

"ASP.NET MVC framework is a lightweight,[9] 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."[10]

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]

Apache License 2.0 release

In 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).[11]

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.[12]

Release history

Release history
Date Version
10 December 2007 ASP.NET MVC CTP
13 March 2009 ASP.NET MVC 1.0[13]
16 December 2009 ASP.NET MVC 2 RC[14]
4 February 2010 ASP.NET MVC 2 RC 2[15]
10 March 2010 ASP.NET MVC 2[16]
6 October 2010 ASP.NET MVC 3 Beta[17]
9 November 2010 ASP.NET MVC 3 RC[17]
10 December 2010 ASP.NET MVC 3 RC 2[18]
13 January 2011 ASP.NET MVC 3[19]
20 September 2011 ASP.NET MVC 4 Developer Preview[20]
15 February 2012 ASP.NET MVC 4 Beta[21]
31 May 2012 ASP.NET MVC 4 RC[22]
15 August 2012 ASP.NET MVC 4[23]
30 May 2013 ASP.NET MVC 4 4.0.30506.0[24]
26 June 2013 ASP.NET MVC 5 Preview[25]
23 August 2013 ASP.NET MVC 5 RC 1[26]
17 October 2013 ASP.NET MVC 5[26]
17 January 2014 ASP.NET MVC 5.1[26]
10 February 2014 ASP.NET MVC 5.1.1[26]
4 April 2014 ASP.NET MVC 5.1.2[26]
22 June 2014 ASP.NET MVC 5.1.3[26]
1 July 2014 ASP.NET MVC 5.2.0[26]
28 August 2014 ASP.NET MVC 5.2.2[26]
9 February 2015 ASP.NET MVC 5.2.3[26]
12 February 2018 ASP.NET MVC 5.2.4[27]
2 May 2018 ASP.NET MVC 5.2.5[28]
11 May 2018 ASP.NET MVC 5.2.6[26]
29 November 2018 ASP.NET MVC 5.2.7[26]
12 April 2022 ASP.NET MVC 5.2.8 (Current)

View engines

The view engines used in the ASP.NET MVC 3 and MVC 4 frameworks are Razor and the Web Forms.[29][30] Both view engines are part of the MVC 3 framework. By default, the view engine in the MVC framework uses Razor .cshtml and .vbhtml, or Web Forms .aspx pages to design the layout of the user interface pages onto which the data is composed. However, different view engines can be used.[31] Additionally, rather than the default ASP.NET Web Forms postback model, any interactions are routed to the controllers using the ASP.NET Routing mechanism. Views can be mapped to different URLs.[7]

Other view engines:

  • The MVCContrib library contains 8 alternate view engines. Brail, NDjango, NHaml, NVelocity, SharpTiles, Spark, StringTemplate and XSLT.[32]
    • The StringTemplate View Engine utilizes a .NET port of the Java templating engine, StringTemplate.[33]
    • Spark is a view engine for the ASP.NET MVC (and the Castle Project MonoRail) frameworks.[34]
    • NDjango is a port of the Django web framework's templating language to .NET. It is written in F# and comes with Visual Studio extension including full Intellisense support.[35]
  • Naked Objects for .NET is an implementation of the naked objects pattern using ASP.NET MVC.

See also

References

  1. ^ "Nuget package Microsoft.AspNet.Mvc". Retrieved 10 January 2019.
  2. ^ "MVC Releases". Official Microsoft ASP.NET Site. Retrieved 18 May 2016.
  3. ^ Rick Anderson. "Intro to ASP.NET MVC 3 (VB)". The Official Microsoft ASP.NET Site. Retrieved 17 January 2015.
  4. ^ "Introducing .NET 5". 6 May 2019.
  5. ^ "What Was Stack Overflow Built With?". 21 September 2008.
  6. ^ "Top 10 Websites Written Using ASP.NET MVC - DZone Web Dev".
  7. ^ a b Scott Guthrie (15 October 2007). "ASP.NET MVC Framework". Archived from the original on 22 October 2007. Retrieved 23 October 2007.
  8. ^ Scott Guthrie (2 April 2009). "ASP.NET mvc 1.0 Source Released". Archived from the original on 3 April 2009. Retrieved 2 April 2009.
  9. ^ Koirala, Shivprasad (27 September 2014). "Webform vs MVC performance comparison done with 25 user load test". codeproject. Retrieved 27 September 2014.
  10. ^ "ASP.NET MVC". aspnet4.com. Archived from the original on 4 April 2014. Retrieved 17 January 2015.
  11. ^ Scott Guthrie (28 March 2012). "ASP.NET MVC, Web API, Razor and Open Source". Retrieved 29 March 2012.
  12. ^ Scott Hanselman. "ASP.NET MVC 4, ASP.NET Web API and ASP.NET Web Pages v2 (Razor) now all open source with contributions". Retrieved 29 March 2012.
  13. ^ "Download ASP.NET MVC 1.0 from Official Microsoft Download Center". Microsoft. Retrieved 17 January 2015.[permanent dead link]
  14. ^ Phil Haack (16 December 2009). "ASP.NET MVC 2 RC Released". Retrieved 17 January 2015.
  15. ^ Phil Haack (4 February 2010). "ASP.NET MVC 2 RC 2 Released". Retrieved 17 January 2015.
  16. ^ "Download ASP.NET MVC 2 RTM from Official Microsoft Download Center". Microsoft. Retrieved 17 January 2015.
  17. ^ a b "ASP.NET MVC 3". The Official Microsoft ASP.NET Site. Retrieved 17 January 2015.
  18. ^ "Announcing ASP.NET MVC 3 (Release Candidate 2)". ScottGu's Blog. weblogs.asp.net. 11 December 2010. Retrieved 17 January 2015.
  19. ^ "Download ASP.NET MVC 3 RTM from Official Microsoft Download Center". Microsoft. Retrieved 17 January 2015.
  20. ^ "ASP.NET". CodePlex. Retrieved 17 January 2015.
  21. ^ "ASP.NET MVC 4". The Official Microsoft ASP.NET Site. Retrieved 17 January 2015.
  22. ^ "MSDN Blogs". Microsoft. Retrieved 17 January 2015.
  23. ^ "MSDN Blogs". Microsoft. Retrieved 17 January 2015.
  24. ^ "ASP.NET and Web Tools 2012.2 Release Notes". The Official Microsoft ASP.NET Site. Archived from the original on 10 January 2015. Retrieved 17 January 2015.
  25. ^ Microsoft ASP.NET Team. "ASP.NET and Web Tools for Visual Studio 2013 Release Notes". The Official Microsoft ASP.NET Site. Retrieved 17 January 2015.
  26. ^ a b c d e f g h i j k "Microsoft ASP.NET MVC 5.2.2". NuGet. Retrieved 17 January 2015.
  27. ^ "Announcing ASP.NET MVC 5.2.4, Web API 5.2.4, and Web Pages 3.2.4". Microsoft. 12 February 2018. Retrieved 14 March 2018.
  28. ^ "Announcing ASP.NET MVC 5.2.5, Web API 5.2.5, and Web Pages 3.2.5". Microsoft. 2 May 2018. Retrieved 4 May 2018.
  29. ^ "ScottGu's Blog - Introducing "Razor" – a new view engine for ASP.NET". asp.net. 3 July 2010.
  30. ^ "ASP.NET MVC 3". The Official Microsoft ASP.NET Site. 15 June 2023.
  31. ^ "Scott Hanselman's ASP.NET MVC Preview 2 Screencast Tutorials". Archived from the original on 29 October 2008. Retrieved 13 October 2008.
  32. ^ MVCContrib
  33. ^ "string-template-view-engine-mvc - ASP.Net MVC ViewEngine for StringTemplate - Google Project Hosting". google.com.
  34. ^ "Spark View Engine". CodePlex. Archived from the original on 11 January 2018. Retrieved 15 March 2013.
  35. ^ "ndjango - An implementation of the Django Template Language on the .NET platform, using the F# language. - Google Project Hosting". google.com.

Further reading

  • Jon Galloway, Phil Haack, Brad Wilson, and K. Scott Allen, Professional ASP.NET MVC 3, Wrox, 2011, ISBN 1-118-07658-3
  • Jeffrey Palermo, Jimmy Bogard, Eric Hexter, Matthew Hinze, and Jeremy Skinner, ASP.NET MVC 4 in Action, Manning Publications, 2012, ISBN 978-1617-29041-1
  • Steven Sanderson, Adam Freeman, Pro ASP.NET MVC 3 Framework, Second Edition, Apress, 2011, ISBN 1-4302-3404-0
  • Jonathan McCracken, Test-Drive ASP.NET MVC, Pragmatic Bookshelf, 2010, ISBN 1-934356-53-0
  • Stephen Walther, ASP.NET MVC Framework Unleashed, Sam's, 2009, ISBN 0-672-32998-0
  • Arnaud Weil, Learn ASP.NET MVC, 2015, ISBN 1-32648303-X
  • Andrew Lock, ASP.NET Core in Action, Manning Publications, 2018, ISBN 978-1617-29461-7

Read other articles:

Centreville, AlabamakotaGedung pengadilan Bibb County di CentrevilleNegaraAmerika SerikatNegara bagianAlabamacountyBibbLuas • Total9,7 sq mi (25,2 km2) • Luas daratan9,5 sq mi (24,7 km2) • Luas perairan0,2 sq mi (0,5 km2)Ketinggian253 ft (77 m)Populasi (2000) • Total2.466 • Kepadatan254,2/sq mi (97,9/km2)Zona waktuUTC-6 (Central (CST)) • Musim panas (DST)UTC...

 

 

Ini adalah nama Papua (Amungme), marganya adalah Anggaibak Andreas Anggaibak Informasi pribadiLahirAndreas Ubertus Anggaibak(1953-12-26)26 Desember 1953Kabupaten MimikaMeninggal9 Juli 2018(2018-07-09) (umur 64)Timika, Kabupaten MimikaSebab kematianpenyakit ginjal dan diabetesKewarganegaraan IndonesiaKebangsaan IndonesiaSuami/istriEster Nunaki (istri)HubunganAgustinus Anggaibak (adik kandung)Anak Andi Marco Anggaibak Patri Bella Anggaibak Fictor Arnold Anggaibak Monika Okto...

 

 

Bagian dari seri tentangLGBT       lesbian ∙ gay ∙ biseksual ∙ transgender Orientasi seksual Homoseksualitas Gay Lesbian Biseksualitas Panseksualitas Poliseksualitas Aseksualitas Aseksualitas abu-abu Queer Identitas seksual Demografi New York Indonesia Biologi Lingkungan Sejarah Garis waktu Gerakan sosial Interseks dan LGBT Kerusuhan Stonewall Komunitas LGBT Afrika-Amerika Budaya Acara terbesar Desa gay Homososialisasi Hubungan sesama jenis Kebanggaan Pawai...

Indonesia AirAsia X IATA ICAO Kode panggil XT IDX RED PHOENIX DidirikanOktober 2014Berhenti beroperasi14 Januari 2019Penghubung Bandar Udara Internasional Ngurah Rai (Denpasar)Armada7Tujuan2SloganNow Everyone Can Fly Xtra LongPerusahaan indukAir Asia XKantor pusatJakarta, IndonesiaTokoh utamaDendy Kurniawan - Chief Executive Officer (CEO)Situs webwww.airasia.com Indonesia AirAsia Extra, dioperasikan sebagai Indonesia AirAsia X, adalah perusahaan patungan dari maskapai penerbangan berbiaya ren...

 

 

Indian Muntjac Muntiacus muntjak Status konservasiRisiko rendahIUCN42190 TaksonomiKerajaanAnimaliaFilumChordataKelasMammaliaOrdoArtiodactylaFamiliCervidaeTribusMuntiaciniGenusMuntiacusSpesiesMuntiacus muntjak (Zimmermann, 1780) Tata namaProtonimCervus muntjak Distribusi lbsKijang muncak atau kijang biasa (Muntiacus muntjak) adalah kijang yang tersebar di India, Pakistan, Bangladesh, Myanmar, Indocina, Thailand, Malaysia dan Indonesia. Jenis kijang ini umum dan banyak ditemukan. Ciri-ciri hewa...

 

 

Bryan Cristante Cristante berseragam AS Roma, 2018Informasi pribadiNama lengkap Bryan Cristante[1]Tanggal lahir 3 Maret 1995 (umur 29)Tempat lahir San Vito al Tagliamento, ItaliaTinggi 188 m (616 ft 10 in)[2]Posisi bermain GelandangInformasi klubKlub saat ini AS RomaNomor 4Karier junior2006–2009 Liventina Gorghense2009–2013 AC MilanKarier senior*Tahun Tim Tampil (Gol)2011–2014 AC Milan 3 (1)2014–2018 Benfica 7 (0)2016 → Palermo (pinjam) 4 (0)2016...

2000 single by Britney Spears LuckySingle by Britney Spearsfrom the album Oops!... I Did It Again B-sideHeartReleasedJuly 25, 2000 (2000-07-25)RecordedNovember 1999StudioCheiron (Stockholm)GenreBubblegum popteen popLength3:24LabelJiveSongwriter(s) Max Martin Rami Yacoub Alexander Kronlund Producer(s) Max Martin Rami Yacoub Britney Spears singles chronology Oops!... I Did It Again (2000) Lucky (2000) Stronger (2000) Music videoLucky on YouTube Lucky is a song by American singer ...

 

 

Historic site in Queensland, AustraliaNanango Butter Factory BuildingOffice at the Nanango Butter FactoryLocationGeorge Street, Nanango, South Burnett Region, Queensland, AustraliaCoordinates26°40′11″S 152°00′12″E / 26.6698°S 152.0034°E / -26.6698; 152.0034Design period1919–1930s (interwar period)Built1927 Queensland Heritage RegisterOfficial nameNanango Butter Factory BuildingTypestate heritage (built)Designated3 June 2005Reference no.602525Signifi...

 

 

Museum Bom Atom NagasakiDidirikan1955,museum saat ini dibangun pada 1996Lokasi7-8 Hirano-machi, Nagasaki, NagasakiSitus webwww1.city.nagasaki.nagasaki.jp/na-bomb/museum Museum Bom Atom Nagasaki (長崎原爆資料館code: ja is deprecated , Nagasaki Genbaku Shiryōkan), yang berada di kota Nagasaki, Jepang, adalah sebuah museum yang mengenang pengeboman atom kota tersebut yang terjadi pada 9 Agustus 1945, pada pukul 11:02:35 am, ketika Amerika Serikat menjatuhkan sebuah bom nuklir di Nagasaki...

Belgian road bicycle racer Preben Van HeckeVan Hecke in 2015.Personal informationFull namePreben Van HeckeBorn (1982-07-09) 9 July 1982 (age 41)Dendermonde, BelgiumHeight1.79 m (5 ft 10 in)Weight66 kg (146 lb)Team informationCurrent teamAlpecin–DeceuninckDisciplineRoadRoleRider (retired)Directeur sportifAmateur team2003Quick-Step–Davitamon–Latexco Professional teams2004Relax–Bodysol2005–2007Davitamon–Lotto2008–2019Topsport Vlaanderen[1...

 

 

Happy Feet 2Mambo in una scena del filmTitolo originaleHappy Feet Two Lingua originaleinglese Paese di produzioneStati Uniti d'America, Australia Anno2011 Durata105 minuti Genereanimazione, avventura, commedia, musicale RegiaGeorge Miller SceneggiaturaWarren Coleman, George Miller, Gary Eck, Paul Livingston ProduttoreGeorge Miller, Doug Mitchell, Bill Miller Casa di produzioneWarner Bros., Village Roadshow Pictures, Kennedy Miller Mitchell, Dr. D Studios Effetti specialiRussel...

 

 

This article is about the Goth subculture festival. For the science-fiction convention, see CONvergence. This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Convergence goth festival �...

Сельское поселение России (МО 2-го уровня)Новотитаровское сельское поселение Флаг[d] Герб 45°14′09″ с. ш. 38°58′16″ в. д.HGЯO Страна  Россия Субъект РФ Краснодарский край Район Динской Включает 4 населённых пункта Адм. центр Новотитаровская Глава сельского пос�...

 

 

Pour les articles homonymes, voir Scorpion (homonymie). Scorpion Scorpion ou baliste Présentation Pays d'origine Empire romain Type Engin de siège Époque Empire romain Nombre de servants 1 Projectiles carreaux Autre(s) nom(s) Scorpio Caractéristiques techniques Matériaux Bois, corde Portée 100 m ou 400 m Cadence de tir jusqu'à 6 coups par minute modifier  Le scorpion ou scorpio (lanceur de flèche) était une pièce d’artillerie névrobalistique romaine apparue en 50 ...

 

 

English actor For other people named James Dodd, see James Dodd (disambiguation). James William Dodd (1740?–1796) was an English actor, one of David Garrick's picked company. James William Dodd, 1779 engraving by Robert Laurie after Robert Dighton Early life Born in London about 1740, he is said to have been the son of a hairdresser. He was educated at the grammar school in Holborn. A success in a school performance of the Andria of Terence decided him to become an actor.[1] Aged 16...

Ottoman Empire's invasion of Malta in 1565 This article is about the siege in 1565. For other sieges of Malta, see Siege of Malta (disambiguation). Great Siege of MaltaPart of the Ottoman–Habsburg warsOttoman-Maltese warsDimostrazione di tutte le batterie, fresco by Matteo Pérez d'Aleccio at the Grandmaster's Palace in VallettaDate18 May – 8 September 1565(3 months and 3 weeks)LocationGrand Harbour, Malta35°53′31″N 14°31′06″E / 35.89194°N 14.51833°E&...

 

 

Ниже представлен список островов, находящихся под контролем Китайской Республики (Свободная территория Китайской Республики). Острова распределены согласно административному делению Китайской Республики — по городам, уездам, сельским и городским волостям. Содержа...

 

 

اضغط هنا للاطلاع على كيفية قراءة التصنيف البيرانا حالة الحفظ أنواع غير مهددة أو خطر انقراض ضعيف جدا التصنيف العلمي المملكة: الحيوانات الشعبة: الحبليات العمارة: شعاعيات الزعانف الرتبة: Characiformes الجنس: Characidae الاسم العلمي Piranha جيري تعديل مصدري - تعديل   البيرانا (بالبرتغالية...

United States House of Representatives elections in California, 1880 ← 1879 November 2, 1880 (1880-11-02) 1882 → All 4 California seats to the United States House of Representatives   Majority party Minority party   Party Republican Democratic Last election 3 1 Seats won 2 2 Seat change 1 1 Popular vote 79,796 79,184 Percentage 48.8% 48.4% Election results by district. Elections in California Federal government U.S. President...

 

 

「勤労者」はこの項目へ転送されています。雑誌については「勤労者 (雑誌)」をご覧ください。 この記事は特に記述がない限り、日本国内の法令について解説しています。また最新の法令改正を反映していない場合があります。ご自身が現実に遭遇した事件については法律関連の専門家にご相談ください。免責事項もお読みください。 19世紀の労働者 労働者(ろうど�...