ASP (ActiveX Server Pages) is a major way of providing Web pages from IIS (Internet Information Server/Service), Microsoft's web server, with server-side processing. Without server-side processing, a web server just sends a file to a user. With server-side processing, a web server does some fancy stuff (commonly some database interaction) before sending stuff to the user.
"Classic" ASP pages are a combination of HTML, script, and calls to components. When a user requests a page with the .asp (or .aspx for ASP .NET) extension, the asp.dll ISAPI (Internet Server Application Programming Interface) filter is invoked, then the web server processes the ASP page, which usually dynamically generates HTML code that is sent to the user's browser. Scripting is infused right into the ASP application instead of being a separate app like a CGI or a VB application on an IIS (Internet Information Server/Service).
Here are the releases of ASP so far:
asp.dll ISAPI (Internet Server Application Programming Interface) filter is invoked, then the web server processes the ASP page, which usually dynamically generates HTML code that is sent to the user's browser. Scripting is infused right into the ASP application instead of being a separate app like a CGI or a VB application on a web server. ASP utilizes VBScript by default on the server-side and usually JavaScript/JScript on the client-side, although other scripting languages can be used on either end. ASP has several built in ASP objects such as Request, Response, Server, and Session.ASP pages will work in ASP.NET for several reasons:
Here are some syntax differences between ASP and ASP .NET.
Response.Write Request.QueryString("values")
Response.Write Request.QueryString("values")(1)
Response.Write(Request.QueryString("values"))
Response.Write(Request.QueryString.GetValues("values")(0))
<script runat=server> block. EG:
<script language="VB" runat=server>
Sub DoMe()
Response.Write("Hello World!")
End Sub
</script>
<% Sub RenderMe() %> <span style="color:red"> time: <%=Now %> </span> <% End Sub %> <% RenderMe %>
<script language="VB" runat=server>
Sub RenderMe()
Response.Write("<span style=" & Chr(34) & "color:red" & Chr(34) & "> ")
Response.Write("time: " & Now & "</span>")
End Sub
</script>
<%
RenderMe()
%>
Set cnn = ..., ASP.NET has cnn = ....rst("name"), ASP.NET has rst("name").Value.DoMe, ASP.NET has DoMe().ByVal) instead of by-reference (ByRef).Page Modified: (Hand noted: 2006-04-22 01:03:42Z) (Auto noted: 2010-12-24 22:45:11Z)