ASP.NET is a part of Microsoft .NET Framework. The following image shows the component stack.
Fig: .NET framework components
ASP.NET Versions History
The following table shows the versions and features included in ASP.NET.
History of Java
|January 16, 2002
|Object-oriented Web application development supporting inheritance, polymorphism and other standard OOP features.
|April 24, 2003
|Mobile controls and Automatic input validation.
|November 7, 2005
|New data controls (GridView, FormView, DetailsView)
New technique for declarative data access (SqlDataSource, ObjectDataSource, XmlDataSource controls)
New localization technique
Support for 64-bit processors
Provider class model
|November 21, 2006
|Windows Presentation Foundation (WPF)
Windows Workflow Foundation (WF)
Windows Communication Foundation, which can use ASP.NET to host services
Windows CardSpace, which uses ASP.NET for login roles
|November 19, 2007
|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, 2008
|3.5 Service Pack1
|Incorporation of ASP.NET Dynamic Data
Support for controlling browser history in an ASP.NET AJAX application
New namespaces System.Web.Abstractions and System.Web.Routing
|April 12, 2010
|The two new properties added in the Page class are MetaKeyword and MetaDescription.
|August 15, 2012
|October 17, 2013
Web API 2: OAuth 2.0, OData improvements, CORS
MVC 5: Attribute routing, authentication filters and filter overrides
|May 5, 2014
|Higher reliability HTTP header inspection and modification methods
New way to schedule background asynchronous worker tasks
|July 20, 2015
|HTTP/2 support when running on Windows 10
More async task-returning APIs
ASP.NET provides three development styles for creating web applications:
- Web Forms
- ASP.NET MVC
- ASP.NET Web Pages
It is an event driven development framework. It is used to develop application with powerful data access. It provides server side controls and events to create web application. It is part of the ASP.NET framework. We will discuss it further in next chapters.
It gives us a MVC (Model View Controller), patterns-based way to build dynamic websites. It enables a clean separation of concerns and that gives you full control over markup for enjoyable, agile development. It also provides many features that enable fast development for creating outstanding applications. We will discuss it further in next chapters.
ASP.NET Web Pages
It is used to create dynamic web pages. It provides fast and lightweight way to combine server code with HTML. It helps to add video, link to the social sites. It also provides other features like you can create beautiful sites that conform to the latest web standards.
All these are stable and well equipped frameworks. We can create web applications with any of them. These are also based on the .NET Framework and share core functionalities of .NET and ASP.NET.
We can use any development style to create application. The selection of style is depends on the skills and experience of the programmer.
Although each framework is independent to other, we can combine and use any of that at any level of our application. For example, to develop client interaction module, we can use MVC and for data control, we can use Web Forms.
The following table illustrates each development model.
|Win Forms, WPF, .NET
|Rapid development using a rich library of controls that encapsulate HTML markup
|Mid-Level, Advanced RAD
|Ruby on Rails, .NET
|Full control over HTML markup, code and markup separated, and easy to write tests. The best choice for mobile and single-page applications (SPA).
|Classic ASP, PHP
|HTML markup and your code together in the same file