ASP.NET: Difference between revisions

Content deleted Content added
m Disambiguating links to Object-orientation (link changed to Object-oriented programming) using DisamAssist.
corrected sources (using page's history for context)
Line 20:
| 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 |title=Introduction to ASP+ |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 37:
}}
 
'''ASP.NET''' is a [[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}}
 
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 released [[ASP.NET Core]] as ASP.NET's successor. 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-overview/aspnet.html#unify12-11|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>
 
== 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=102018-05-09|website=Microsoft April 2024Docs|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 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 229 ⟶ 230:
 
== 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]].
 
== References ==
 
=== Citations ===
{{Reflist|30em}}
 
=== General sources ===
* {{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
}}
 
== External links ==