Skip to content

ASP.NET is not ASP

August 7, 2009
tags:
ASP
Active Server Pages (ASP) is Microsoft’s first server-side script engine for dynamically-generated web pages. It was initially marketed as an add-on to Internet Information Services (IIS) via the Windows NT 4.0 Option Pack, but has been included as a free component of Windows Server since the initial release of Windows 2000 Server.
The two technologies to run ASP without windows are,
  • ChiliASP is a technology that runs ASP without Windows OS
  • InstantASP is another technology that runs ASP without Windows
What can ASP do for you?
  • Dynamically edit, change or add any content of a Web page
  • Respond to user queries or data submitted from HTML forms
  • Access any data or databases and return the results to a browser
  • Customize a Web page to make it more useful for individual users
  • The advantages of using ASP instead of CGI and Perl, are those of simplicity and speed
  • Provide security since your ASP code can not be viewed from the browser
  • Clever ASP programming can minimize the network traffic
ASP.NET
ASP.NET is Not ASP
1. ASP.NET is the next generation ASP, but it’s not an upgraded version of ASP.
2. ASP.NET is an entirely new technology for server-side scripting. It was written from the ground up and is not backward compatible with classic ASP.
3. ASP.NET is the major part of the Microsoft’s .NET Framework.
ASP+
  • ASP+ is the same as ASP.NET.
  • ASP+ is just an early name used by Microsoft when they developed ASP.NET.
Working of ASP.NET
1. When a browser requests an HTML file, the server returns the file
2. When a browser requests an ASP.NET file, IIS passes the request to the ASP.NET engine on the server
3. The ASP.NET engine reads the file, line by line, and executes the scripts in the file
4. Finally, the ASP.NET file is returned to the browser as plain HTML
Difference between ASP and ASP.NET
Language Support
  • ASP.NET uses the new ADO.NET.
  • ASP.NET supports full Visual Basic, not VBScript.
  • ASP.NET supports C# (C sharp) and C++.
  • ASP.NET supports JScript as before.
ASP.NET Controls
  • ASP.NET contains a large set of HTML controls. Almost all HTML elements on a page can be defined as ASP.NET control objects that can be controlled by scripts.
  • ASP.NET also contains a new set of object oriented input controls, like programmable list boxes and validation controls.
  • A new data grid control supports sorting, data paging, and everything you expect from a dataset control.
Event Aware Controls
  • All ASP.NET objects on a Web page can expose events that can be processed by ASP.NET code.
  • Load, Click and Change events handled by code makes coding much simpler and much better organized.
ASP.NET Components
  • ASP.NET components are heavily based on XML. Like the new AD Rotator, that uses XML to store advertisement information and configuration.
User Authentication
  • ASP.NET supports forms-based user authentication, including cookie management and automatic redirecting of unauthorized logins.
User Accounts and Roles
  • AS .NET allows for user accounts and roles, to give each user (with a given role) access to different server code and executables.
Compiled Code
The first request for an ASP.NET page on the server will compile the ASP.NET code and keep a cached copy in memory. The result of this is greatly increased performance.
Easy Configuration
  • Configuration of ASP.NET is done with plain text files.
  • Configuration files can be uploaded or changed while the application is running. No need to restart the server.
Easy Deployment
No more server restart to deploy or replace compiled code. ASP.NET simply redirects all new requests to the new code.
Compatibility
ASP.NET is not fully compatible with earlier versions of ASP, so most of the old ASP code will need some changes to run under ASP.NET.
To overcome this problem, ASP.NET uses a new file extension “.aspx”. This will make ASP.NET applications able to run side by side with standard ASP applications on the same server.
Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: