You are on page 1of 26

ASP.

NET

ASP.NET is an open-source,[2] server-side


web-application framework designed for
web development to produce dynamic
web pages. It was developed by
Microsoft to allow programmers to build
dynamic web sites, applications and
services. The name stands for Active
Server Pages Network Enabled
Technologies.
ASP.NET (software)

Developer(s) Microsoft

Initial release January 5, 2002

Stable release 6 / February 8,


2022[1]

Repository github.com/aspnet
/AspNetWebStack (h
ttps://github.com/as
pnet/AspNetWebSta
ck)

Written in .NET languages

Operating system Microsoft Windows,


Linux, macOS

Platform .NET Framework


(past), .NET (current)

Type Web framework


License Apache License 2.0

Website dotnet.microsoft
.com/en-us/apps
/aspnet (https://dotn
et.microsoft.com/en-
us/apps/aspnet)  

ASP.NET (file format)

Filename extension .aspx ,


.cshtml ,
.vbhtml
Internet media type text/html
Developed by Microsoft

It was first released in January 2002 with


version 1.0 of the .NET Framework and is
the successor to Microsoft's Active
Server Pages (ASP) technology. ASP.NET
is built on the Common Language
Runtime (CLR), allowing programmers to
write ASP.NET code using any supported
.NET language. The ASP.NET SOAP
extension framework allows ASP.NET
components to process SOAP
messages.

Microsoft briefly marketed ASP.NET Core


as ASP.NET's successor, however
beginning August 2022 it reverted to the
old ASP.NET name.[3] 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 Razor pages) have merged
into a unified MVC 6.[4]

Programming models
ASP.NET supports a number of
programming models for building web
applications:[5]

ASP.NET Web Forms – A framework


for building modular pages out of
components, with UI events being
processed server-side.
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.[6]
ASP.NET Web API – A framework for
building Web APIs on top of the .NET
Framework.[7]
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.

Other ASP.NET extensions include:

ASP.NET Handler – Components that


implement the
System.Web.IHttpHandler
interface. Unlike ASP.NET Pages, they
have no HTML-markup file, no events
and other supporting. All they have is a
code-file (written in any .NET-
compatible language) that writes some
data to the server HTTP response.
HTTP handlers are similar to ISAPI
extensions.
ASP.NET AJAX – An extension with
both client-side as well as server-side
components for writing ASP.NET
pages that incorporate Ajax
functionality.
ASP.NET Dynamic Data – A scaffolding
extension to build data driven web
applications.

IIS integrated pipeline


On IIS 6.0 and lower, pages written using
different versions of the ASP framework
cannot share 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 7. With IIS 7.0,
modules may be run in an integrated
pipeline that allows modules written in
any language to be executed for any
request.[8]

Third-party frameworks
It is not essential to use the standard
Web forms development model when
developing with ASP.NET. Noteworthy
frameworks designed for the platform
include:

Base One Foundation Component


Library (BFC) is RAD framework for
building .NET database and distributed
computing applications.
DotNetNuke is an open-source solution
that provides both a web application
framework and a content management
system that allows for advanced
extensibility through modules, skins,
and providers.
Castle MonoRail, an open-source MVC
framework with an execution model
similar to Ruby on Rails. The
framework is commonly used with
Castle ActiveRecord, an ORM layer
built on NHibernate.

Versions

ASP.NET based on .NET Framework


(Prior to ASP.NET core)

The ASP.NET releases history tightly


correlates with the .NET Framework
releases:
Date Version Remarks New ASP.NET related features

Object-oriented Web application


development supporting inheritance,
polymorphism and other standard
OOP features
Developers are no longer forced
to use Server.CreateObject(...), so
First version early-binding and type safety are
January
1.0 released together with possible.
16, 2002
Visual Studio .NET
Based on 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)

released together with


Windows Server 2003 Mobile controls
April 24,
1.1
2003 released together with
Automatic input validation
Visual Studio .NET 2003

November 2.0 codename Whidbey New data controls (GridView,


7, 2005 FormView, DetailsView)
released together with
Visual Studio 2005 and New technique for declarative data
Visual Web Developer access (SqlDataSource,
Express ObjectDataSource, XmlDataSource
and SQL Server 2005 controls)

Navigation controls

Master pages

Login controls

Themes

Skins

Web parts

Personalization services
Date Version Remarks New ASP.NET related features

Full pre-compilation

New localization technique

Support for 64-bit processors

Provider class model

Windows Presentation Foundation


(WPF)

Windows Workflow Foundation (WF)


November Released with Windows Windows Communication Foundation,
3.0
21, 2006 Vista which can use ASP.NET to host
services

Windows CardSpace, which uses


ASP.NET for login roles

New data controls (ListView,


DataPager)

ASP.NET AJAX included as part of the


framework
Released with Visual
November Support for HTTP pipelining and
3.5 Studio 2008 and Windows
19, 2007 syndication feeds.
Server 2008
WCF support for RSS, JSON, POX and
Partial Trust

All the .NET Framework 3.5 changes,


like LINQ etc.

August 3.5 Released with Visual Incorporation of ASP.NET Dynamic


11, 2008 Service Studio 2008 Service Pack Data
Pack 1 1
Support for controlling browser history
in an ASP.NET AJAX application

Ability to combine multiple JavaScript


files into one file for more efficient
downloading

New namespaces
System.Web.Abstractions and
Date Version Remarks New ASP.NET related features

System.Web.Routing

Released with Visual


Studio 2010
The two new properties added in the
April 12,
4.0 Parallel extensions and Page class are MetaKeyword and
2010
other .NET Framework 4 MetaDescription.
features

Released with Visual


Studio 2012 and Windows
Server 2012 for Windows 8
August
4.5
15, 2012 Parallel extensions and
other .NET Framework 4.5
features

Bootstrap 3.0

Web API 2: OAuth 2.0, OData


improvements, CORS
Released with Visual
MVC 5: Attribute routing,
October Studio 2013[9] for
4.5.1 authentication filters and filter
17, 2013 Windows Server 2012 R2
overrides
and Windows 8.1
EF 6

SignalR

OWIN

Higher reliability HTTP header


May 5, inspection and modification methods
4.5.2
2014[10] New way to schedule background
asynchronous worker tasks

Released[11] with Visual


Studio 2015[12] and EF 7 HTTP/2 support when running on
July 20,
4.6 Previews for Windows Windows 10
[10]
2015
Server 2016 and Windows More async task-returning APIs
10
Date Version Remarks New ASP.NET related features

November
30, 4.6.1
2015[10]

August 2, Improved async support (output-cache


4.6.2
2016[10] and session providers)

April 11, Included in the Windows operating system support for TLS
[10]
4.7 [13]
2017 10 Creators Update protocols

Improved accessibility
October
Included in the Windows
17, 4.7.1 Value tuple types serialization
10 Fall Creators Update.[14]
2017[10]
SHA-2 support

April 30,
4.7.2
2018[10]

JIT and NGEN Improvements

Updated ZLib

Reducing FIPS Impact on


Cryptography
August
Accessibility Enhancements for
09, 4.8.1 Released[15]
WinForms
2022[10]
Service Behavior Enhancements for
WCF

High DPI Enhancements,


UIAutomation Improvements for WPF

This version was later


separated from ASP.NET
November and brought into a new An entirely new project with different
5 RC1
18, 2015 project called ASP.NET development tenets and goals
Core, whose versioning
started at 1.0.[16]

Legend: Old version Older version, still maintained Latest version


Latest preview version Future release
ASP.NET based on .NET Core
(ASP.NET core)

Release End of
Version Number Supported Visual Studio Version(s)
Date Support

1.0 2016-06-27 2019-06-27 Visual Studio 2015, 2017

1.1 2016-11-18 2019-06-27 Visual Studio 2015, 2017

2.0 2017-08-14 2018-10-01 Visual Studio 2017

2021-08-
2.1 long-term support 2018-05-30 Visual Studio 2017
21[17]

2018-12- 2019-12- Visual Studio 2017 15.9 and 2019 16.0


2.2
04[18] 23[19] preview 1

2019-09- 2020-03-
3.0 [20]
Visual Studio 2017 and 2019
23 03[19]

2019-12- 2022-12-
3.1 long-term support Visual Studio 2019
03[21] 03[19]

2020-11-
5.0 2022-05-08 Visual Studio 2019 16.8
10[22]

2021-11-
6.0 long-term support 2024-11-08 Visual Studio 2022
08[23]

7.0 standard-term 2022-11-


2024-05-14 Visual Studio 2022
support[24] 08[25]

Old version Older version, still maintained Latest version

Other implementations
The Mono Project supports "everything in
.NET 4.7 except WPF, WWF, and with
limited WCF and limited ASP.NET 4.7
async stack."[26] ASP.NET can be run with
Mono using one of three options: Apache
hosting using the mod_mono module,
FastCGI hosting, and XSP.

See also
ELMAH (Error Logging Modules and
Handlers), an ASP.NET debugging tool

References

Citations

1. ".net download page" (https://dotnet.micr


osoft.com/en-us/download/dotnet) .
2. "ASP.NET is part of a great open source
.NET community" (https://dotnet.microsof
t.com/platform/open-source) . Microsoft.
Microsoft. May 14, 2013. Archived (http
s://web.archive.org/web/2020051119262
3/https://dotnet.microsoft.com/platform/
open-source) from the original on May
11, 2020. Retrieved May 11, 2020.

3. "ASP.NET | Open-source web framework


for .NET" (https://dotnet.microsoft.com/e
n-us/apps/aspnet) . Microsoft. Retrieved
2023-06-24.
4. "Introduction to ASP.NET 5 — ASP.NET
0.0.1 documentation" (https://docs.asp.ne
t/en/latest/conceptual-overview/aspnet.h
tml#unify) . asp.net. Archived (https://we
b.archive.org/web/20200508045123/http
s://docs.microsoft.com/en-us/aspnet/cor
e/?view=aspnetcore-3.1) from the
original on May 8, 2020. Retrieved May 11,
2020.

5. "Choose between ASP.NET and ASP.NET


Core" (https://docs.microsoft.com/en-us/
aspnet/core/choose-aspnet-framework?vi
ew=aspnetcore-2.1) .
docs.microsoft.com.
6. "ASP.NET Web Pages (Razor) FAQ" (http
s://docs.microsoft.com/en-us/aspnet/we
b-pages/overview/getting-started/aspnet-
web-pages-razor-faq#Whats_the_differen
ce_between_ASP.NET_Web_Pages,_ASP.N
ET_Web_Forms,_and_ASP.NET_MVC) .
docs.microsoft.com.

7. "Get Started with ASP.NET Web API 2


(C#)" (https://docs.microsoft.com/en-us/
aspnet/web-api/overview/getting-started-
with-aspnet-web-api/tutorial-your-first-we
b-api) . docs.microsoft.com.

8. "How to Take Advantage of the IIS 7.0


Integrated Pipeline" (https://learn.iis.net/p
age.aspx/244/how-to-take-advantage-of-t
he-iis7-integrated-pipeline) . iis.net.
9. "Announcing release of ASP.NET and Web
Tools for Visual Studio 2013" (http://blog
s.msdn.com/b/webdev/archive/2013/10/
17/announcing-release-of-asp-net-and-we
b-tools-for-visual-studio-2013.aspx) .

10. ".net framework product lifecycle" (http


s://support.microsoft.com/en-us/lifecycl
e/search?alpha=.net%20framework) .

11. "Announcing .NET Framework 4.6" (http://


blogs.msdn.com/b/dotnet/archive/2015/
07/20/announcing-net-framework-4-6.asp
x) .

12. "Visual Studio 2015 and Visual Studio


2013 Update 5 Released" (http://blogs.ms
dn.com/b/visualstudio/archive/2015/07/
20/visual-studio-2015-and-visual-studio-2
013-update-5-released.aspx) . msdn.com.
Microsoft.
13. "Announcing the .NET Framework 4.7" (htt
ps://blogs.msdn.microsoft.com/dotnet/2
017/04/05/announcing-the-net-framewor
k-4-7/) . 5 April 2017.

14. "Announcing the .NET Framework 4.7.1"


(https://blogs.msdn.microsoft.com/dotne
t/2017/10/17/announcing-the-net-framew
ork-4-7-1/) . 17 October 2017.

15. "Announcing the .NET Framework 4.8" (htt


ps://devblogs.microsoft.com/dotnet/ann
ouncing-the-net-framework-4-8/) . 18
April 2019.

16. "Releases" (https://github.com/aspnet/Ho


me/releases) . GitHub.

17. "GitHub - dotnet/core: Home repository of


.NET and .NET Core" (https://github.com/
dotnet/core) . October 20, 2019 – via
GitHub.
18. "ASP.NET Blog | Announcing ASP.NET
Core 2.2, available today!" (https://devblo
gs.microsoft.com/aspnet/asp-net-core-2-
2-available-today/) . ASP.NET Blog.
December 4, 2018.

19. ".NET Core and .NET 5 official support


policy" (https://dotnet.microsoft.com/plat
form/support/policy/dotnet-core) .
Microsoft. Retrieved 2019-12-06.

20. "ASP.NET Blog | ASP.NET Core and Blazor


updates in .NET Core 3.0" (https://devblog
s.microsoft.com/aspnet/asp-net-core-and
-blazor-updates-in-net-core-3-0/) .
ASP.NET Blog. September 23, 2019.

21. "ASP.NET Core updates in .NET Core 3.1"


(https://devblogs.microsoft.com/aspnet/
asp-net-core-updates-in-net-core-3-1/) .
ASP.NET Blog. December 3, 2019.
22. dotnet/aspnetcore (https://github.com/do
tnet/aspnetcore) , .NET Platform, 2020-
11-11, retrieved 2020-11-11

23. "Announcing ASP.NET Core in .NET 6" (htt


ps://devblogs.microsoft.com/dotnet/ann
ouncing-asp-net-core-in-net-6/) . .NET
Blog. 2021-11-08. Retrieved 2021-11-19.

24. ".NET and .NET Core Support Policy" (http


s://dotnet.microsoft.com/en-us/platform/
support/policy/dotnet-core) . Microsoft.
Retrieved December 30, 2022.

25. "Announcing ASP.NET Core in .NET 7" (htt


ps://devblogs.microsoft.com/dotnet/ann
ouncing-asp-net-core-in-dotnet-7/) . .NET
Blog. 2022-11-08. Retrieved 2022-11-08.
26. "Compatibility | Mono" (http://www.mono-
project.com/docs/about-mono/compatibi
lity/) . Compatibility | Mono. 8 September
2015. Archived (https://web.archive.org/w
eb/20160702192925/http://www.mono-pr
oject.com/docs/about-mono/compatibilit
y/) from the original on 2 July 2016.
Retrieved 29 August 2016.

General sources

MacDonald, Matthew; Szpuszta, Mario


(2005). Pro ASP.NET 2.0 in C# 2005 (htt
ps://archive.org/details/proaspnet20in
c200000macd) (1st ed.). Apress.
ISBN 1-59059-496-7.
External links
Wikibooks has more on the topic of:
ASP.NET

Official website (https://asp.net)


ASP.NET (https://curlie.org/Computer
s/Programming/Internet/ASP/ASP.NE
T/) at Curlie
ASP.NET (http://msdn.microsoft.com/
asp.net/) on MSDN
Some of new features in ASP.NET 4
and vs 2010 IDE (http://www.codeproje
ct.com/KB/aspnet/Whatis_New_ASP_
Net_4.aspx)

Retrieved from
"https://en.wikipedia.org/w/index.php?
title=ASP.NET&oldid=1171558176"

This page was last edited on 21 August 2023, at


21:24 (UTC). •
Content is available under CC BY-SA 4.0 unless
otherwise noted.

You might also like