Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
ASP.NET
Open-source web application framework

ASP.NET is a 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.

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.

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 Razor pages) have merged into a unified MVC 6.

We don't have any images related to ASP.NET yet.
We don't have any YouTube videos related to ASP.NET yet.
We don't have any PDF documents related to ASP.NET yet.
We don't have any Books related to ASP.NET yet.
We don't have any archived web articles related to ASP.NET yet.

Programming models

ASP.NET supports a number of programming models for building web applications:2

  • 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.3
  • ASP.NET Web API – A framework for building Web APIs on top of the .NET Framework.4
  • 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.5

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:

Versions

ASP.NET's release history tightly correlates with the .NET Framework releases:

DateVersionRemarksNew ASP.NET related features
January 16, 2002Old version, not maintained: 1.0First version

released together with Visual Studio .NET

  • Object-oriented Web application development supporting inheritance, 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 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)
April 24, 2003Old version, not maintained: 1.1released together with Windows Server 2003

released together with Visual Studio .NET 2003

  • Mobile controls
  • Automatic input validation
November 7, 2005Old version, not maintained: 2.0

codename Whidbeyreleased together with Visual Studio 2005 and Visual Web Developer Expressand SQL Server 2005

  • New data controls (GridView, FormView, DetailsView)
  • New technique for declarative data access (SqlDataSource, ObjectDataSource, XmlDataSource controls)
  • Navigation controls
  • Master pages
  • Login controls
  • Themes
  • Skins
  • Web parts
  • Personalization services
  • Full pre-compilation
  • New localization technique
  • Support for 64-bit processors
  • Provider class model
November 21, 2006Old version, not maintained: 3.0Released with Windows Vista
November 19, 2007Old version, not maintained: 3.5Released with Visual Studio 2008 and Windows Server 2008
  • New data controls (ListView, DataPager)
  • ASP.NET AJAX included as part of the framework
  • Support for HTTP pipelining and syndication feeds.
  • WCF support for RSS, JSON, POX and Partial Trust
  • All the .NET Framework 3.5 changes, like LINQ etc.
August 11, 2008Old version, not maintained: 3.5 Service Pack 1Released with Visual Studio 2008 Service Pack 1
  • Incorporation of ASP.NET Dynamic Data
  • 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 System.Web.Routing
April 12, 2010Old version, not maintained: 4.0Released with Visual Studio 2010

Parallel extensions and other .NET Framework 4 features

The two new properties added in the Page class are MetaKeyword and MetaDescription.

August 15, 2012Old version, not maintained: 4.5Released with Visual Studio 2012 and Windows Server 2012 for Windows 8

Parallel extensions and other .NET Framework 4.5 features

October 17, 2013Old version, not maintained: 4.5.1Released with Visual Studio 20136 for Windows Server 2012 R2 and Windows 8.1
May 5, 20147Old version, still maintained: 4.5.2
  • Higher reliability HTTP header inspection and modification methods
  • New way to schedule background asynchronous worker tasks
July 20, 20158Old version, still maintained: 4.6Released9 with Visual Studio 201510 and EF 7 Previews for Windows Server 2016 and Windows 10
  • HTTP/2 support when running on Windows 10
  • More async task-returning APIs
November 30, 201511Old version, still maintained: 4.6.1
August 2, 201612Old version, still maintained: 4.6.2
  • Improved async support (output-cache and session providers)
April 11, 201713Old version, still maintained: 4.7Included in the Windows 10 Creators Update14
  • operating system support for TLS protocols
October 17, 201715Old version, still maintained: 4.7.1Included in the Windows 10 Fall Creators Update.16
  • Improved accessibility
  • Value tuple types serialization
  • SHA-2 support
April 30, 201817Old version, still maintained: 4.7.2
August 09, 202218Latest version: 4.8.1 Released19
  • JIT and NGEN Improvements
  • Updated ZLib
  • Reducing FIPS Impact on Cryptography
  • Accessibility Enhancements for WinForms
  • Service Behavior Enhancements for WCF
  • High DPI Enhancements, UIAutomation Improvements for WPF
November 18, 2015Old version, not maintained: 5 RC1This version was later separated from ASP.NET and brought into a new project called ASP.NET Core, whose versioning started at 1.0.20An entirely new project with different development tenets and goals
Legend:Old version, not maintainedOld version, still maintainedLatest versionLatest preview versionFuture 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."21 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

Citations

General sources

Wikibooks has more on the topic of: ASP.NET

References

  1. "Introduction to ASP.NET 5 — ASP.NET 0.0.1 documentation". asp.net. Archived from the original on May 8, 2020. Retrieved May 11, 2020. https://docs.asp.net/en/latest/conceptual-overview/aspnet.html#unify

  2. "Choose between ASP.NET and ASP.NET Core". docs.microsoft.com. 10 April 2024. https://docs.microsoft.com/en-us/aspnet/core/choose-aspnet-framework?view=aspnetcore-2.1

  3. "ASP.NET Web Pages (Razor) FAQ". docs.microsoft.com. 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

  4. "Get Started with ASP.NET Web API 2 (C#)". docs.microsoft.com. 30 September 2022. https://docs.microsoft.com/en-us/aspnet/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api

  5. "How to Take Advantage of the IIS 7.0 Integrated Pipeline". iis.net. 14 June 2022. https://learn.iis.net/page.aspx/244/how-to-take-advantage-of-the-iis7-integrated-pipeline

  6. "Announcing release of ASP.NET and Web Tools for Visual Studio 2013". http://blogs.msdn.com/b/webdev/archive/2013/10/17/announcing-release-of-asp-net-and-web-tools-for-visual-studio-2013.aspx

  7. ".net framework product lifecycle". https://support.microsoft.com/en-us/lifecycle/search?alpha=.net%20framework

  8. ".net framework product lifecycle". https://support.microsoft.com/en-us/lifecycle/search?alpha=.net%20framework

  9. "Announcing .NET Framework 4.6". http://blogs.msdn.com/b/dotnet/archive/2015/07/20/announcing-net-framework-4-6.aspx

  10. "Visual Studio 2015 and Visual Studio 2013 Update 5 Released". msdn.com. Microsoft. 20 July 2015. http://blogs.msdn.com/b/visualstudio/archive/2015/07/20/visual-studio-2015-and-visual-studio-2013-update-5-released.aspx

  11. ".net framework product lifecycle". https://support.microsoft.com/en-us/lifecycle/search?alpha=.net%20framework

  12. ".net framework product lifecycle". https://support.microsoft.com/en-us/lifecycle/search?alpha=.net%20framework

  13. ".net framework product lifecycle". https://support.microsoft.com/en-us/lifecycle/search?alpha=.net%20framework

  14. "Announcing the .NET Framework 4.7". 5 April 2017. https://blogs.msdn.microsoft.com/dotnet/2017/04/05/announcing-the-net-framework-4-7/

  15. ".net framework product lifecycle". https://support.microsoft.com/en-us/lifecycle/search?alpha=.net%20framework

  16. "Announcing the .NET Framework 4.7.1". 17 October 2017. https://blogs.msdn.microsoft.com/dotnet/2017/10/17/announcing-the-net-framework-4-7-1/

  17. ".net framework product lifecycle". https://support.microsoft.com/en-us/lifecycle/search?alpha=.net%20framework

  18. ".net framework product lifecycle". https://support.microsoft.com/en-us/lifecycle/search?alpha=.net%20framework

  19. "Announcing the .NET Framework 4.8". 18 April 2019. https://devblogs.microsoft.com/dotnet/announcing-the-net-framework-4-8/

  20. "Releases". GitHub. https://github.com/aspnet/Home/releases

  21. "Compatibility | Mono". Compatibility | Mono. 8 September 2015. Archived from the original on 2 July 2016. Retrieved 29 August 2016. http://www.mono-project.com/docs/about-mono/compatibility/