ASP.NET

ASP.NET

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.

Quick Facts Developer(s), Initial release ...
Quick Facts Filename extension, Internet media type ...

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

Programming models

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

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

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:

More information Date, 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."[16] 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 framework download page".
  2. "Microsoft .NET Framework Redistributable EULA". MSDN. Microsoft. Archived from the original on April 2, 2015. Retrieved February 28, 2015.
  3. "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.
  4. "Compatibility | Mono". Compatibility | Mono. 8 September 2015. Archived from the original on 2 July 2016. Retrieved 29 August 2016.

General sources


Share this article:

This article uses material from the Wikipedia article ASP.NET, and is written by contributors. Text is available under a CC BY-SA 4.0 International License; additional terms may apply. Images, videos and audio are available under their respective licenses.