ASP.NET explained

ASP.NET should not be confused with UNESCO ASPNet.

ASP.NET (software)
Developer:Microsoft
Latest Release Version:4.8.1
Latest Release Date:[1]
Programming Language:.NET languages
Operating System:Microsoft Windows, Linux, macOS
Platform:.NET Framework
Genre:Web framework
License:Proprietary software[2]
ASP.NET (file format)
Noextcode:on
Extension:.aspx, [[ASP.NET Razor|.cshtml]], [[ASP.NET Razor|.vbhtml]]
Mime:text/html
Owner: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.

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, 2002First 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, 2003released together with Windows Server 2003
released together with Visual Studio .NET 2003
  • Mobile controls
  • Automatic input validation
November 7, 2005codename 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, 2006Released with Windows Vista
November 19, 2007Released 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, 2008Released 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, 2010Released with Visual Studio 2010 Parallel extensions and other .NET Framework 4 featuresThe two new properties added in the Page class are MetaKeyword and MetaDescription.
August 15, 2012Released with Visual Studio 2012 and Windows Server 2012 for Windows 8Parallel extensions and other .NET Framework 4.5 features
October 17, 2013Released with Visual Studio 2013[8] for Windows Server 2012 R2 and Windows 8.1
May 5, 2014[9]
  • Higher reliability HTTP header inspection and modification methods
  • New way to schedule background asynchronous worker tasks
July 20, 2015Released[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
August 2, 2016
  • Improved async support (output-cache and session providers)
April 11, 2017Included in the Windows 10 Creators Update[12]
  • operating system support for TLS protocols
October 17, 2017Included in the Windows 10 Fall Creators Update.[13]
  • Improved accessibility
  • Value tuple types serialization
  • SHA-2 support
April 30, 2018
August 09, 2022Released[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, 2015This 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

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

References

General sources

External links

Notes and References

  1. Web site: .net framework download page.
  2. Web site: Microsoft .NET Framework Redistributable EULA. MSDN. Microsoft. February 28, 2015. April 2, 2015. https://web.archive.org/web/20150402161923/https://msdn.microsoft.com/en-us/library/ms994405.aspx. live.
  3. Web site: Introduction to ASP.NET 5 — ASP.NET 0.0.1 documentation. asp.net. live. https://web.archive.org/web/20200508045123/https://docs.microsoft.com/en-us/aspnet/core/?view=aspnetcore-3.1. May 8, 2020. May 11, 2020.
  4. Web site: Choose between ASP.NET and ASP.NET Core . docs.microsoft.com . en-us.
  5. Web site: ASP.NET Web Pages (Razor) FAQ . docs.microsoft.com . en-us.
  6. Web site: Get Started with ASP.NET Web API 2 (C#) . docs.microsoft.com . en-us.
  7. Web site: How to Take Advantage of the IIS 7.0 Integrated Pipeline. iis.net.
  8. Web site: Announcing release of ASP.NET and Web Tools for Visual Studio 2013 .
  9. Web site: .net framework product lifecycle.
  10. Web site: Announcing .NET Framework 4.6 .
  11. Web site: Visual Studio 2015 and Visual Studio 2013 Update 5 Released . Microsoft . msdn.com.
  12. Web site: Announcing the .NET Framework 4.7. 5 April 2017 .
  13. Web site: Announcing the .NET Framework 4.7.1. 17 October 2017 .
  14. Web site: Announcing the .NET Framework 4.8. 18 April 2019 .
  15. Web site: Releases . GitHub.
  16. Web site: Compatibility | Mono . Compatibility | Mono . 29 August 2016 . https://web.archive.org/web/20160702192925/http://www.mono-project.com/docs/about-mono/compatibility/ . 2 July 2016 . 8 September 2015 . live .