ASP - Active Server Pages

Prahlad Godara ------ From DOOSEEP

.asp extension

An ASP file is a webpage created by a web developer that resides on a web server and may contain scripts written in VBScript or JavaScript. It is parsed on the server, which generates the HTML that is sent to the client's browser. ASP files are commonly used by ASP.NET sites and websites hosted on Windows Server running Microsoft IIS.


ASP - Definition Usage Functions and Examples

Asp full form - Active Server Pages

What is ASP File?

ASP is a technology developed by Microsoft. Whose full name is - Active Server Pages. It is same as HTML file. ASP files have the file extension ".asp". The programs written in it are run on the web server. Usually it contains vb.net or javascript code. Which runs on the server itself and serves the html code to the client.


asp file usage.

asp is a web page just like html or php. It is used to run the server site code and generate plain HTML to be sent to the client's browser. Apart from this, it is helpful in web security, editing content, accessing databases or other server data, etc.


How ASP Works?

When a browser requests an ASP file, the server sends the request to the ASP engine which reads the ASP file and runs the server scripts in the file. Finally the asp file is returned to the browser as plain HTML.

ASP Exampal

asp file is written like html and while saving the file, the file name is written as .asp instead of .html. And in this the code which has to be run on the server is written between <% %> . As - <% response.write("My first ASP script!")%>


    <!DOCTYPE html>
    <html>
        <body>
          <%
          response.write("My first ASP script!")
          %>
      </body>
    </html>

  

When someone views the web page, it will appear like this.


    My first ASP script!
 
NOTE - Apart from this there is another .asp file type. Which is known as Adobe Color Separation Setup File. This is used to define preferences for color separation when exporting your Adobe document to another program.

Tags- .asp file means, .asp file in web, .asp extension, asp.net, asp in hindi,asp file tutorial,
No comments:
Post a Comment