ASP.NET: Difference between revisions

Content deleted Content added
Tag: Reverted
Evarlast (talk | contribs)
include original author
 
(24 intermediate revisions by 21 users not shown)
Line 1:
{{Short description|Open-source web application framework}}
{{distinguish|UNESCO ASPNet}}
{{for|its rewrite briefly marketed as ASP.NET Core|ASP.NET Core}}
{{Infobox software
| name = ASP.NET (software)
| logo =
| developer = [[Microsoft]] [[Scott Guthrie]]
| released = {{Start date and age|2002|1|5}}
| latest_release_version = 64.8.1
| latest_release_date = {{Start date and age|2022|02|08|09}}<ref>{{cite web |title=.net framework download page|url=https://dotnet.microsoft.com/en-us/download/dotnet-framework/net481}}</ref>
| programming language = [[List of CLI languages|.NET languages]]
| operating system = [[Microsoft Windows]], [[Linux]], [[macOS]]
| platform = [[.NET Framework]] (past), [[.NET]] (current)
| genre = [[Web framework]]
| license = [[Proprietary software]]<ref>{{cite web|title=Microsoft .NET Framework Redistributable EULA|url=https://msdn.microsoft.com/en-us/library/ms994405.aspx|website=[[MSDN]]|date=13 September 2006 |publisher=[[Microsoft]]|access-date=February 28, 2015|archive-date=April 2, 2015|archive-url=https://web.archive.org/web/20150402161923/https://msdn.microsoft.com/en-us/library/ms994405.aspx|url-status=live}}</ref>
| license = [[Apache License 2.0]]
}}
}}{{Infobox file format
| name = ASP.NET (file format)
| icon =
| logo =
|_noextcode = on
| extension = <code>.aspx</code>, <code>.asmx</code>, <code>.aspc</code>,<ref name=devx>{{Cite web |title=Introduction to ASP+ |url=http://archive.devx.com/asp/articles/ck072600/ck072600.asp |archive-url=https://web.archive.org/web/20030202065505/http://archive.devx.com/asp/articles/ck072600/ck072600.asp |archive-date=2003-02-02 |access-date=2025-08-13 |website=DevX |first=Chris |last=Kinsman |date=July 2000}}</ref> <code>[[ASP.NET Razor|.cshtml]]</code>, <code>[[ASP.NET Razor|.vbhtml]]</code>
| mime = text/html
| magic =
Line 36 ⟶ 37:
}}
 
'''ASP.NET''' is an [[Open-source software|open-source]],<ref>{{cite web|title=ASP.NET is part of a great open source .NET community|url=https://dotnet.microsoft.com/platform/open-source|date=May 14, 2013|website=Microsoft|publisher=[[Microsoft]]|url-status=live|archive-url=https://web.archive.org/web/20200511192623/https://dotnet.microsoft.com/platform/open-source|archive-date=May 11, 2020|access-date=May 11, 2020}}</ref> [[server-side scripting|server-side]] [[web-application framework]] designed for [[web development]] to produce [[dynamic web page]]s. It was developed by [[Microsoft]] to allow [[programmer]]s to build dynamic [[web site]]s, [[web application|applications]] and [[web service|service]]s. The name stands for Active Server Pages Network Enabled Technologies.{{citation needed|date=August 2025}}
 
ItASP.NET was first releasedannounced into Januarythe 2002public with version 1.0 ofunder the [[.NETcodename Framework]]ASP+, and is thea successorre-implementation toof Microsoft's [[Active Server Pages]] (ASP) technology.<ref name=devx/> ASP.NET is built on the [[Common Language Runtime]] (CLR), allowing programmers to write ASP.NET code using any supported [[List of CLI languages|.NET language]].<ref>{{cite book |title = Pro ASP.NET 2.0 in C# 2005 |edition = 1st |last1 = MacDonald |first1 = Matthew |first2 = Mario |last2 = Szpuszta |year = 2005 |publisher = Apress |isbn = 1-59059-496-7 |url-access = registration |url = https://archive.org/details/proaspnet20inc200000macd |pages=5-6 |quote=[...] ASP.NET pages and web services are executed within the CLR (common language runtime), so they can be authored in any language that has a CLR-compliant compiler. [...] ASP.NET gives you the ability to code in any supported .NET language (including Visual Basic, C#, J#, and many other languages that have third-party compilers). }}</ref> The ASP.NET [[SOAP]] extension framework allows ASP.NET components to process SOAP messages.
 
In 2016, Microsoft briefly marketedreleased [[ASP.NET Core]] as ASP.NET's successor, however beginning August 2022 it reverted to the old ASP.NET name.<ref>{{Cite web |title=ASP.NET {{!}} Open-source web framework for .NET |url=https://dotnet.microsoft.com/en-us/apps/aspnet |access-date=2023-06-24 |website=Microsoft |language=en-US}}</ref> This new version is a re-implementation of ASP.NET as a modular [[web framework]], together with other frameworks like [[Entity Framework]]. The new framework uses the new open-source [[.NET Compiler Platform]] (codename "Roslyn") and is [[cross platform]]. [[ASP.NET MVC]], ASP.NET Web API, and ASP.NET Web Pages (a platform using only [[ASP.NET Razor|Razor]] pages) have merged into a unified MVC ([[model–view–controller]]) 6.<ref name="asp.net">{{cite web|title=Introduction to ASP.NET 5 — ASP.NET 0.0.1 documentationOverview|urlfirst=http://docs.asp.net/en/latest/conceptualTom|last=FitzMacken|date=2014-12-overview/aspnet.html#unify11|workwebsite=aspASP.netNET|url-status=livedead|archive-url=https://web.archive.org/web/2020050804512320141115023406/httpshttp://docswww.microsoftasp.comnet/envnext/overview/aspnet-usvnext/aspnet-5-overview#unify|url=http:/core/?view=aspnetcore-3www.1asp.net/vnext/overview/aspnet-vnext/aspnet-5-overview#unify|archive-date=May 8, 2020|access2014-date=May 11, 2020-15}}</ref>
 
[[StasiunTune.azurewebsites.net]]== Programming models ==
{{see also|ASP.NET Web Forms}}
ASP.NET supports a number of programming models for building web applications:<ref>{{cite web |title=Choose between ASP.NET and ASP.NET Core |archive-url=https://web.archive.org/web/20180509012506/https://docs.microsoft.com/en-us/aspnet/core/choose-aspnet-framework?view=aspnetcore-2.1 |websiteurl=https://docs.microsoft.com/en-us/aspnet/core/choose-aspnet-framework?view=aspnetcore-2.1|archive-date=2018-05-09|website=Microsoft Docs|url-status=dead| date=2018-03-14|language=en-us}}</ref>
* [[ASP.NET Web Forms]] – A framework for building modular pages out of components, with UI events being processed server-side. This framework is not included in the ASP.NET Core versions; it only works in the "classic" ASP.NET, on Windows.
* [[ASP.NET MVC]] – allows for building web pages using the [[model–view–controller]] design pattern.
* [[ASP.NET Web Pages]] – A lightweight syntax for adding dynamic code and data access directly inside HTML markup.<ref>{{cite web |title=ASP.NET Web Pages (Razor) FAQ |url=https://docs.microsoft.com/en-us/aspnet/web-pages/overview/getting-started/aspnet-web-pages-razor-faq#Whats_the_difference_between_ASP.NET_Web_Pages,_ASP.NET_Web_Forms,_and_ASP.NET_MVC |website=docs.microsoft.com |language=en-us}}</ref>
* [[ASP.NET Web API]] – A framework for building [[Web API]]s on top of the [[.NET Framework]].<ref>{{cite web |title=Get Started with ASP.NET Web API 2 (C#) |url=https://docs.microsoft.com/en-us/aspnet/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api |website=docs.microsoft.com |date=30 September 2022 |language=en-us |first=Wasson |last=Mike }}</ref>
* [[ASP.NET WebHooks]] – Implements the [[Webhook]] pattern for subscribing to and publishing events via HTTP.
* [[SignalR]] – A real-time communications framework for bi-directional communication between client and server.
Line 55 ⟶ 57:
* [[ASP.NET AJAX]] – An extension with both client-side as well as server-side components for writing ASP.NET pages that incorporate [[AJAX (programming)|Ajax]] functionality.
* [[ASP.NET Dynamic Data]] – A [[scaffold (programming)|scaffolding]] extension to build data driven web applications.
Webapp=[stasiuntune.azurewebsites.net]
 
== IIS integrated pipeline ==
On [[Internet Information Services|IIS]]&nbsp;6.0 and lower, pages written using different versions of the ASP framework cannot share [[#Session state|session state]] without the use of third-party libraries. This does not apply to ASP.NET and ASP applications running side by side on IIS&nbsp;7. With IIS&nbsp;7.0, modules may be run in an integrated pipeline that allows modules written in any language to be executed for any request.<ref>{{cite web|url=http://learn.iis.net/page.aspx/244/how-to-take-advantage-of-the-iis7-integrated-pipeline|title=How to Take Advantage of the IIS 7.0 Integrated Pipeline|work=iis.net|date=14 June 2022|access-date=26 January 2009|archive-date=24 March 2010|archive-url=https://web.archive.org/web/20100324031657/http://learn.iis.net/page.aspx/244/how-to-take-advantage-of-the-iis7-integrated-pipeline|url-status=dead}}</ref>
 
== Third-party frameworks ==
Line 67 ⟶ 68:
 
== Versions ==
=== ASP.NET's basedrelease onhistory .NETtightly Frameworkcorrelates (Priorwith tothe ASP[[.NET core)Framework]] ===releases:
The ASP.NET releases history tightly correlates with the [[.NET Framework]] releases:
<!--Template:Version - for version & release history. Documentation & examples: http://en.wikipedia.org/wiki/Template:Version-->
{| class="wikitable sortable"
Line 82:
released together with [[Visual Studio .NET]]
|
* [[Object-oriented programming|Object-oriented]] Web application development supporting [[inheritance (object-oriented programming)|inheritance]], [[polymorphism in object-oriented programming|polymorphism]] and other standard OOP features
** Developers are no longer forced to use Server.CreateObject(...), so early-binding and type safety are possible.
* Based on [[Microsoft Windows|Windows]] programming; the developer can make use of DLL class libraries and other features of the Web server to build more robust applications that do more than simply rendering HTML (e.g., [[exception handling]])
Line 176:
|July 20, 2015<ref name="lifecycle" />
|{{Version |co |4.6 | sortKey=4.60}}
|Released<ref>{{cite web |title=Announcing .NET Framework 4.6 |url=http://blogs.msdn.com/b/dotnet/archive/2015/07/20/announcing-net-framework-4-6.aspx}}</ref> with [[Visual Studio 2015]]<ref>{{cite web |title=Visual Studio 2015 and Visual Studio 2013 Update 5 Released |url=http://blogs.msdn.com/b/visualstudio/archive/2015/07/20/visual-studio-2015-and-visual-studio-2013-update-5-released.aspx |publisher=Microsoft |work=msdn.com|date=20 July 2015 }}</ref> and [[Entity Framework|EF]] 7 Previews for [[Windows Server 2016]] and [[Windows 10]]
|
* [[HTTP/2]] support when running on Windows 10
Line 227:
|- class="sortbottom"
| colspan="4" | {{Version |l |show=111111}}
|}
 
=== ASP.NET based on .NET Core (ASP.NET core) ===
{| class="wikitable"
!Version Number
!Release Date
!End of Support
!Supported Visual Studio Version(s)
 
|-
|{{Version|o|1.0}}
|2016-06-27
|2019-06-27
|[[Visual Studio 2015]], [[Visual Studio 2017|2017]]
|-
|{{Version|o|1.1}}
|2016-11-18
|2019-06-27
|Visual Studio 2015, 2017
|-
|{{Version|o|2.0}}
|2017-08-14
|2018-10-01
|Visual Studio 2017
|-
|{{Version|o|2.1}} [[long-term support]]
|2018-05-30
|2021-08-21<ref>{{Cite web|url=https://github.com/dotnet/core|title=GitHub - dotnet/core: Home repository of .NET and .NET Core|date=October 20, 2019|via=GitHub}}</ref>
|Visual Studio 2017
|-
|{{Version|o|2.2}}
|2018-12-04<ref>{{Cite web|url=https://devblogs.microsoft.com/aspnet/asp-net-core-2-2-available-today/|title=ASP.NET Blog &#124; Announcing ASP.NET Core 2.2, available today!|date=December 4, 2018|website=ASP.NET Blog}}</ref>
|2019-12-23<ref name=":0">{{Cite web|url=https://dotnet.microsoft.com/platform/support/policy/dotnet-core|title=.NET Core and .NET 5 official support policy|website=Microsoft|language=en|access-date=2019-12-06}}</ref>
|Visual Studio 2017 15.9 and [[Visual Studio 2019|2019]] 16.0 preview 1
|-
|{{Version|o|3.0}}
|2019-09-23<ref>{{Cite web|url=https://devblogs.microsoft.com/aspnet/asp-net-core-and-blazor-updates-in-net-core-3-0/|title=ASP.NET Blog &#124; ASP.NET Core and Blazor updates in .NET Core 3.0|date=September 23, 2019|website=ASP.NET Blog}}</ref>
|2020-03-03<ref name=":0" />
|Visual Studio 2017 and 2019
|-
|{{Version|o|3.1}} [[long-term support]]
|2019-12-03<ref>{{Cite web|url=https://devblogs.microsoft.com/aspnet/asp-net-core-updates-in-net-core-3-1/|title=ASP.NET Core updates in .NET Core 3.1|date=December 3, 2019|website=ASP.NET Blog}}</ref>
|2022-12-03<ref name=":0" />
|Visual Studio 2019
|-
|{{Version|o|5.0}}
|2020-11-10<ref name="5.0">{{Citation|title=dotnet/aspnetcore|date=2020-11-11|url=https://github.com/dotnet/aspnetcore|publisher=.NET Platform|access-date=2020-11-11}}</ref>
|2022-05-08
|Visual Studio 2019 16.8
|-
|{{Version|co|6.0}} [[long-term support]]
|2021-11-08<ref>{{Cite web|date=2021-11-08|title=Announcing ASP.NET Core in .NET 6|url=https://devblogs.microsoft.com/dotnet/announcing-asp-net-core-in-net-6/|access-date=2021-11-19|website=.NET Blog|language=en-US}}</ref>
|2024-11-08
|Visual Studio 2022
|-
|{{Version|c|7.0}} standard-term support<ref>{{cite web |title=.NET and .NET Core Support Policy |url=https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core |website=Microsoft |access-date=December 30, 2022}}</ref>
|2022-11-08<ref>{{Cite web|date=2022-11-08|title=Announcing ASP.NET Core in .NET 7|url=https://devblogs.microsoft.com/dotnet/announcing-asp-net-core-in-dotnet-7/|access-date=2022-11-08|website=.NET Blog|language=en-US}}</ref>
|2024-05-14
|Visual Studio 2022
|-
| colspan="4" |{{Version|l|show=011100}}
|}
 
== Other implementations ==
The [[Mono (software)|Mono]] Project supports "everything in .NET 4.7 except [[Windows Presentation Foundation|WPF]], [[Windows Workflow Foundation|WWF]], and with limited [[Windows Communication Foundation|WCF]] and limited ASP.NET 4.7 async stack."<ref name="monoproject">{{cite web|title=Compatibility &#124; Mono |url=http://www.mono-project.com/docs/about-mono/compatibility/ |website=Compatibility &#124; Mono |access-date=2913 August 2016 |archive-url=https://web.archive.org/web/20160702192925/http://www.mono-project.com/docs/about-mono/compatibility/ |archive-date=2 July 2016 |date=8 September 20152025 |url-status=live }}</ref> ASP.NET can be run with Mono using one of three options: [[Apache HTTP Server|Apache]] hosting using the [[mod_mono]] module, [[FastCGI]] hosting, and [[XSP (software)|XSP]].
 
== See also ==
*[[ELMAH]] (Error Logging Modules and Handlers), an ASP.NET debugging tool
 
== References ==
 
=== Citations ===
{{Reflist|30em}}
 
=== GeneralExternal sourceslinks ===
{{Wikibooks}}
* {{cite book
|title = Pro ASP.NET 2.0 in C# 2005
|edition = 1st
|last1 = MacDonald
|first1 = Matthew
|first2 = Mario
|last2 = Szpuszta
|year = 2005
|publisher = Apress
|isbn = 1-59059-496-7
|url-access = registration
|url = https://archive.org/details/proaspnet20inc200000macd
}}
 
[http:////stasiuntune-f69b9.appspot.com //stasiuntune-f69b9.appspot.com]== External links ==
{{Prone to spam|date=June 2012}}
<!-- {{No more links}}
Line 333 ⟶ 253:
 
-->
* {{Official website|asp.net}}
{{Wikibooks}}
* {{Official|asp.net}}
* {{dmoz|Computers/Programming/Internet/ASP/ASP.NET/}}
* [http://msdn.microsoft.com/asp.net/ ASP.NET] on [[MSDN]]
* [http://www.codeproject.com/KB/aspnet/Whatis_New_ASP_Net_4.aspx Some of new features in ASP.NET 4 and vs 2010 IDE] {{Webarchive|url=https://web.archive.org/web/20181225171923/http://www.codeproject.com/KB/aspnet/Whatis_New_ASP_Net_4.aspx%20%0A |date=2018-12-25 }}
 
{{.NET Framework}}
Line 344 ⟶ 262:
{{Microsoft FOSS}}
{{Web frameworks}}
{{Authority control}}
 
{{DEFAULTSORT:Asp.Net}}
[[Category:ASP.NET| ]]
[[Category:2002 software]]
[[Category:Free and open-source software]]
[[Category:Microsoft application programming interfaces]]