ASP.NET

Last updated
ASP.NET (software)
Developer(s) Microsoft
Initial releaseJanuary 5, 2002;22 years ago (2002-01-05)
Stable release
4.8.1 / August 9, 2022;18 months ago (2022-08-09) [1]
Repository
Written in .NET languages
Operating system Microsoft Windows, Linux, macOS
Platform .NET Framework
Type Web framework
License Proprietary software [2]
Website dotnet.microsoft.com/en-us/apps/aspnet   OOjs UI icon edit-ltr-progressive.svg
ASP.NET (file format)
Filename extension .aspx, .cshtml , .vbhtml
Internet media type
text/html
Developed by Microsoft

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.

Contents

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]

Other ASP.NET extensions include:

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:

DateVersionRemarksNew ASP.NET related features
January 16, 2002Old version, no longer 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, no longer maintained: 1.1released together with Windows Server 2003

released together with Visual Studio .NET 2003

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

codename Whidbey
released together with Visual Studio 2005 and Visual Web Developer Express
and 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, no longer maintained: 3.0Released with Windows Vista
November 19, 2007Old version, no longer 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, no longer 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, no longer 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, no longer 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, no longer maintained: 4.5.1Released with Visual Studio 2013 [8] for Windows Server 2012 R2 and Windows 8.1
May 5, 2014 [9] Older version, yet still maintained: 4.5.2
  • Higher reliability HTTP header inspection and modification methods
  • New way to schedule background asynchronous worker tasks
July 20, 2015 [9] Older version, yet still maintained: 4.6Released [10] with Visual Studio 2015 [11] 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, 2015 [9] Older version, yet still maintained: 4.6.1
August 2, 2016 [9] Older version, yet still maintained: 4.6.2
  • Improved async support (output-cache and session providers)
April 11, 2017 [9] Older version, yet still maintained: 4.7Included in the Windows 10 Creators Update [12]
  • operating system support for TLS protocols
October 17, 2017 [9] Older version, yet still maintained: 4.7.1Included in the Windows 10 Fall Creators Update. [13]
  • Improved accessibility
  • Value tuple types serialization
  • SHA-2 support
April 30, 2018 [9] Older version, yet still maintained: 4.7.2
August 09, 2022 [9] Current stable version:4.8.1 Released [14]
  • 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, no longer 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. [15] An entirely new project with different development tenets and goals
Legend:
Old version
Older version, still maintained
Latest version
Latest preview version
Future release

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

Related Research Articles

Active Server Pages (ASP) is Microsoft's first server-side scripting language and engine for dynamic web pages.

An application server is a server that hosts applications or software that delivers a business application through a communication protocol. For a typical web application, the application server sits behind the web servers.

<span class="mw-page-title-main">Internet Information Services</span> Extensible web server software by Microsoft

Internet Information Services is an extensible web server created by Microsoft for use with the Windows NT family. IIS supports HTTP, HTTP/2, HTTPS, FTP, FTPS, SMTP and NNTP. It has been an integral part of the Windows NT family since Windows NT 4.0, though it may be absent from some editions, and is not active by default.

JScript is Microsoft's legacy dialect of the ECMAScript standard that is used in Microsoft's Internet Explorer web browser.

<span class="mw-page-title-main">Windows Forms</span> Graphical user interface software library

Windows Forms (WinForms) is a free and open-source graphical (GUI) class library included as a part of Microsoft .NET, .NET Framework or Mono, providing a platform to write client applications for desktop, laptop, and tablet PCs. While it is seen as a replacement for the earlier and more complex C++ based Microsoft Foundation Class Library, it does not offer a comparable paradigm and only acts as a platform for the user interface tier in a multi-tier solution.

The Internet Server Application Programming Interface (ISAPI) is an n-tier API of Internet Information Services (IIS), Microsoft's collection of Windows-based web server services. The most prominent application of IIS and ISAPI is Microsoft's web server.

<span class="mw-page-title-main">DNN (software)</span>

DNN Platform is a web content management system and web application framework based on the .NET Framework. It is open source and part of the .Net Foundation.

<span class="mw-page-title-main">Microsoft Data Access Components</span> Framework

Microsoft Data Access Components is a framework of interrelated Microsoft technologies that allows programmers a uniform and comprehensive way of developing applications that can access almost any data store. Its components include: ActiveX Data Objects (ADO), OLE DB, and Open Database Connectivity (ODBC). There have been several deprecated components as well, such as the Jet Database Engine, MSDASQL, and Remote Data Services (RDS). Some components have also become obsolete, such as the former Data Access Objects API and Remote Data Objects.

Scaffolding, as used in computing, refers to one of two techniques:

Comparison of the Java and .NET platforms.

ASP.NET MVC is a web application framework developed by Microsoft that implements the model–view–controller (MVC) pattern. It is no longer in active development. It is open-source software, apart from the ASP.NET Web Forms component, which is proprietary.

Text Template Transformation Toolkit is a free and open-source template-based text generation framework. T4 source files are usually denoted by the file extension ".tt".

<span class="mw-page-title-main">.NET Framework</span> Software platform developed by Microsoft

The .NET Framework is a proprietary software framework developed by Microsoft that runs primarily on Microsoft Windows. It was the predominant implementation of the Common Language Infrastructure (CLI) until being superseded by the cross-platform .NET project. It includes a large class library called Framework Class Library (FCL) and provides language interoperability across several programming languages. Programs written for .NET Framework execute in a software environment named the Common Language Runtime (CLR). The CLR is an application virtual machine that provides services such as security, memory management, and exception handling. As such, computer code written using .NET Framework is called "managed code". FCL and CLR together constitute the .NET Framework.

An ASP.NET HTTP handler is a process that runs in response to a request made to an ASP.NET Web application. The most common handler is the ASP.NET page handler that processes .aspx files. When users request an .aspx file, the request is processed by the page through the page handler.

AppFabric is a set of middleware technologies for Windows Server, released by Microsoft. It consists of two main feature areas: AppFabric Hosting and AppFabric Caching. Microsoft support for these ended in November 2017. A newer version of the product from Microsoft is Service Fabric.

<span class="mw-page-title-main">.NET Framework version history</span>

Microsoft started development on the .NET Framework in the late 1990s originally under the name of Next Generation Windows Services (NGWS). By late 2001 the first beta versions of .NET Framework 1.0 were released. The first version of .NET Framework was released on 13 February 2002, bringing managed code to Windows NT 4.0, 98, 2000, ME and XP.

ASP.NET Core is an open-source modular web-application framework. It is a redesign of ASP.NET that unites the previously separate ASP.NET MVC and ASP.NET Web API into a single programming model. Despite being a new framework, built on a new web stack, it does have a high degree of concept compatibility with ASP.NET. The ASP.NET Core framework supports side-by-side versioning so that different applications being developed on a single machine can target different versions of ASP.NET Core. This was not possible with previous versions of ASP.NET. ASP.NET Core initially ran on both the Windows-only .NET Framework and the cross-platform .NET. However, support for the .NET Framework was dropped beginning with ASP.Net Core 3.0.

OWIN is a standard for an interface between .NET Web applications and Web servers. It is a community-owned open-source project. Prior to OWIN, Microsoft's ASP.NET technology was designed on top of IIS, and Web applications could not easily be run on another Web server. OWIN aims to decouple the relationship between ASP.NET applications and IIS by defining a standard interface. Developers of Web servers can be sure that, if they implement OWIN correctly, ASP.NET applications will run on their server. Similarly, new Web frameworks could be developed as an alternative to ASP.NET. As long as they target OWIN, they will run on any OWIN compatible Web server, including IIS.

ASP.NET Web Forms is a web application framework and one of several programming models supported by the Microsoft ASP.NET technology. Web Forms applications can be written in any programming language which supports the Common Language Runtime, such as C# or Visual Basic. The main building blocks of Web Forms pages are server controls, which are reusable components responsible for rendering HTML markup and responding to events. A technique called view state is used to persist the state of server controls between normally stateless HTTP requests.

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. "Choose between ASP.NET and ASP.NET Core". docs.microsoft.com.
  5. "ASP.NET Web Pages (Razor) FAQ". docs.microsoft.com.
  6. "Get Started with ASP.NET Web API 2 (C#)". docs.microsoft.com.
  7. "How to Take Advantage of the IIS 7.0 Integrated Pipeline". iis.net.
  8. "Announcing release of ASP.NET and Web Tools for Visual Studio 2013".
  9. 1 2 3 4 5 6 7 8 ".net framework product lifecycle".
  10. "Announcing .NET Framework 4.6".
  11. "Visual Studio 2015 and Visual Studio 2013 Update 5 Released". msdn.com. Microsoft.
  12. "Announcing the .NET Framework 4.7". 5 April 2017.
  13. "Announcing the .NET Framework 4.7.1". 17 October 2017.
  14. "Announcing the .NET Framework 4.8". 18 April 2019.
  15. "Releases". GitHub.
  16. "Compatibility | Mono". Compatibility | Mono. 8 September 2015. Archived from the original on 2 July 2016. Retrieved 29 August 2016.

General sources