Asp Fundamentals

  • Uploaded by: Justin Cook
  • 0
  • 0
  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Asp Fundamentals as PDF for free.

More details

  • Words: 596
  • Pages: 18
A Web server is software, which is collection of some programs to achieve a particular task. It will manage WebPages and responds to the client’s request. E.g. of some web servers are, 1. Apache webserver 2. Netscape webserver 3. Tomcat webserver 4. Personal webserver (Win95, 98 environments) 5. Peer webserver

6. IIS (internet information services) ( provided by Microsoft) IIS is the collection of following services, 1. HTTP SERVICE (world wide web publishing service) 2. FTP SERVICE 3. SMTP SERVICE (mailing service) 4. NNTP SERVICE (network news transport protocol)

IIS can have more than one website. Unlimited users can send request and access at a time. (NOTE: ASP.NET requires IIS5.0) Installing webserver (IIS 5.0) comes with Operating System like windows 2000, windows XP. With the installation of webserver it will provide a website called as default website. The physical path for this default website is,

C:\inetpub\wwwroot Webserver is providing security for the file system. WEBSERVER CLIENT

INETI NFO. EXE

http://…/demo.html

Default website

C:\Inetpub\wwwroot Demo.Htm l (Loading html file

Demo.html

Configuring website means changing the physical path of website. A tool is provided for configuring IIS, i.e. Internet Services Manager Go to, Program

Administrative Tools (Server Name) Default Website Properties Provide 

Home Directory

Local Path

C:\InetPub\WWWroot OK

D:\aspnet

Client can make the request now. http://localhost/demo.html this will refer to d:\aspnet to locate demo.html instead of C:\InetPub\WWWroot PORT NUMBER: A port number is a logical one, which connects a client request towards a particular service.

This port number should be a unique identifier for each service. Port number should be in the range of 0-65535. The port number between 01023 is called as reserved ports. E.g. http80 Ftp21

If client request is, http://localhost/demo.html then,

If client request is, http://localhost:2000/demo.html then,

INET INFO. EXE

80

200 0

Default Website

Mysite

\

For creating a new website(only posssible if OS is windows2000 server), Go to Inetrnet services manager  Default website  New  site Mysite  description 2000

 tcp Port D:\aspnet

Physical Path

Finish Server side execution: When the execution of statements takes place within the webserver machine then it is called as server side execution. To understand the serverside codes,The codes should be writen in < %------------------------------%>

IIS 1.0Server side code(c,c++ Programming) IIS2.0PERL(Practical Execution Reporting Language) IIS3.0ASP 1.0(It supports ActiveX) IIS 4.0ASP 2.0 IIS5.0ASP.NET “ASP is a technology incorporated with webserver IIS.This is a Dll file called as ASP.DLL which will be

installed along with webserver installation. ASP.DLL comes with scripting engines like, 1. java script 2. VB script It carries ASP objects (intrensic objects or global objects) like, 1. request 2. response 3. session 4. application 5. server

6. asperror(asp 3.0) A request may contain plaintext,textbox data,IP address of the client and cookie information. By using request object, servercan read information provided by client. By using the response object the cookies informations are overwritten.

Response can be plaintext and overwriteen cookie informations etc.

Submission of webpage: This means providing one page information to another. source page:
…….

…….
destination page: request.form(“control name”) request.Querystring(“----“) Difference between POST and GET POST 1. The data will be sent to http message body. (filestream)

2. It can be used for sending any amount of data. 3. it will provide security for data. 4. the transmission of data is slow here. GET 1. The data will be sent to http header by appending to URL.(QuryString) 2. It can be used for sending maximum of 4kb of data.

3. it will provide no such security for data. 4. the transmission of data is fast here.

Related Documents

Asp Fundamentals
June 2020 59
Asp
November 2019 69
Asp
June 2020 51
Asp
November 2019 61
Asp
October 2019 63
Asp
May 2020 42

More Documents from ""