2.) Introduction to ASP :
Statelessness : Stateless :: When a web server receives a request from a client machine via HTTP then a response is sent back. After this response the web server closes any connection between it and the browser and releases all resources that were involved with this request. This type of application is considered stateless as no data was held by the web server between request.
Static web pages (Old View of how a web server worked)
Web browser --------------- Web server
1.)HTTP get -------------->> 2.)Processes the Get request
4.)Displays Page <<-------- 3.)Sends Response and Closes Connection Dynamic Web Pages Web Browser ---------------- Web Server 1.) HTTP GET ---------------->> 2.) Process GET request
3.) Execute Server-side code (Store Session Data)
5.) Display Page<<------------- 4.)Send Response Web Browser : It is platform independent and displays the webpages. Web browsers now can process client side scripts like VB script or JavaScript and also run partial page request via AJAX/Silverlight/Flash.
HTTP : It is a text based communication protocol. Uses port 80 or 443 for https
When a URL is requested by the browser a GET command is fired up with the page and version. ex GET /default.aspx HTTP/1.1 Host: www.somethingsomething.com
DAV : Distributed Authoring and Versioning
More HTTP methords
OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, CONNECT, TRACE, CONNECT, DEBUG
REQUEST : Communication from a web browser to a web server in ASP.NET. In ASP.NET there is a Request Object used to represent web browsers communication to web server.
It may be use to associate cookies, query strings, etc.
RESPONSE : Communication from web server back to a web browser. Resources for a response is wrapped in a RESPONSE object.
The response also includes a status code.
Status code Description
1xx Informational: Request received continuing process.
2xx Success: The action was received, understood,accepted
3xx Redirect Command:Further action must be taken to complete request
4xx Client Error: Server doesnt know how to fulfill request.
5xx Server Error: The server failed to fulfill a request that appears valid.
: Interesting Speed Race Controlled Speed :
MIME type : text, image. audio, video, application
MIME list in HKEY_CLASSES_ROOT\MIME\Database\Content Type