ASP.NET (1) - ASP and ASP.NET

This series of articles is about ASP.NET. They are from my previous years, legacy notes on OneNote. Reviewing the concepts may be helpful even for our current programming because they have a lot of similar features, such as, with Angular, React, and these modern "laguanges".

A. Introduction

This article will discuss the major features of ASP.NET and the differences between ASP.NET and ASP. The content of this article will be

  • A - Introduction
  • B - What are ASP, and ASP.NET
  • C - ASP.NET Buit -n Objects
  • D - Differences between ASP.NET and ASP
  • E - ASP.NET Evolution and Major Features

B. What is ASP, and ASP.NET

Definitions of ASP and ASP.NET

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

ASP.NET [ref] is an open-source, server-side web application framework designed for web development to produce dynamic web pages. It was developed by Microsoft. The name stands for Active Server Pages Network Enabled Technologies.

Microsoft Visual InterDev (1998) [ref], part of Microsoft Visual Studio 97 and 6.0, is an IDE used to create web applications using Microsoft Active Server Pages (ASP) technologies. It has code completion, database server management tools, and an integrated debugger.

Microsoft Visual Studio [ref] is an integrated development environment (IDE) from Microsoft. It is used to develop computer programs, including websites, web apps, web services, and mobile apps.

C. ASP.NET Buit-in Objects

  1. ASP built-in objects
    • Application,
    • ObjectContext,
    • Request,
    • Response,
    • Server,
    • Session.
  2. ASP.NET build in Objects: HttpContext class
    • Application: Gets the HttpApplicationState object
    • Cache: Gets the Cache object, Add(key,value,dependency,Expiration, …,Callback)
    • Request: Gets the HttpRequest object
    • Response: Gets the HttpResponse object
    • Server: Gets the HttpServerUtility object
    • Session: Gets the HttpSessionState instance
    • Trace: Gets the TraceContext object

D. Difference between ASP and ASP.NET

  1. ASP is a scripting language; ASP.NET is compiled,
  2. ASP is a platform including different tools, such as VB Script at the server, Jscript at the client side, and VB/C++ COM at the middle tier; while .NET is an integrated environment, C#, and VB.NET is fully object-oriented language programming for both front end and server end
  3. ASP: HTML code mixes with back logic code, while ASP.NET separates GUI and business logic into .aspx and .cs files
  4. COM has a dll hell problem, while .NET doesn’t.
  5. Browser compatibility: ASP is done manually, while ASP.NET is automatically controlled by a TargetSchema property. It could be back-compatible to IE 3.02/Netscape 3.0. While CSS is supported only for HTML 4.0 up, the server controls could be rendered using elements that the browsers do support rather than CSS style attributes.
  6. Web access mode could be either FrontPage extension or File Sharing

E. ASP.NET Evolution and Major Features

ASP.NET 1.0

  1. integrated with the .NET Framework;
  2. complied, not interpreted;
  3. Multilanguage
  4. hosted by CLR
  5. object-oriented;
  6. multidevice and multibrower;
  7. easy to deploy and configure 

ASP.NET 2.0 new features (Page 13)

  • More rich controls
  • Master pages
  • Themes
  • Security and Membership
  • Data source controls
  • Web parts
  • Profiles

ASP.NET 3.0 new features

ASP.NET 3.5 new features

  • LINQ
  • ASP.NET AJAX 

ASP.NET 3.5 Service Pack 1 new feature

  • ASP.NET AJAX script combining
  • ASP.NET AJAX browser history
  • ASP.NET Dynamic Data
  • ADO.NET Entity Framework
  • ADO.NET Data Service

ASP.NET 4.5.1 Service Pack 1 new features


Similar Articles