Tuesday 31 December 2013

INTRODUCTION TO ASP

ASP.NET = ASP + .NET

ASP.NET  = Active Server Pages  + Dot( Data access Technology or Data access object) +     Network Enable Technology.

Firstly we discuss about ASP.

What is ASP?

- ASP stands for Active Server Pages.
- ASP is also known as Classic ASP.
- ASP is not a Language, its a Technology.
- ASP is a Microsoft Technology.
- ASP is a standard developed by Microsoft in 1996 for the development of Interactive Web Applications (page with dynamic content).
- ASP is a Microsoft's first server-side script engine for dynamically generated web pages.
- ASP is a program that runs inside IIS(Internet Information Services).
- ASP initially released as an add-on to IIS via the WINDOWS NT 4.0 Option Pack.


What is an ASP File?

- An ASP file is same as an HTML file.
- An ASP file can contain Text,HTML,XML & Scripts.
- Scripts in an ASP file are executed on the server.
- An ASP file has the file extension ".asp".

Versions of ASP :

There have been three versions of ASP, each introduced with different versions of IIS.

1) ASP 1.0 - released December 1996 as part of IIS 3.0.
2) ASP 2.0 - released September 1997 as part of IIS 4.0.
3) ASP 3.0 - released November 2000 as part of IIS 5.0.

 The basic Objects of ASP:

ASP are made up of the objects that will be processed by the server. ASP has 7 basic objects :

1) Application Object : It is the object representing the web application itself, that is to say, an object containing all information shared by visitors connected to the online application. 

2) ObjectContext : it can control any transactions with the Microsoft Transaction Server (MTS: Microsoft Transaction Server). 

3) Request Object : This object is used to retrieve information sent to the server in the HTTP request from the client. 

4) Response Object : It is used to create and send the HTTP response to the client (browser). 

5) Server Object: it contains information specific to the web server. 

6) Session Object : it allows you to manage user sessions, that is to say to keep information from one page to another. 

7) ASPError Object : this object retrieves and sets the errors encountered during the execution of ASP scripts.