What is the HTTP protocol in the ASP. NET programming model? When learning the ASP. NET programming model, you must first understand the meaning of the HTTP protocol:
The website address we enter in the address bar of the browser is called URL (UniformResourceLocator, unified Resource Locator ). Just as each household has a home address, each webpage also has an Internet address. When you enter a URL in the browser address box or click a hyperlink, the URL determines the address to be viewed. The browser extracts the website code on the Web server through Hypertext Transfer Protocol (HTTP) and translates it into beautiful Web pages. Therefore, before we understand HTTP, it is necessary to clarify the URL composition, for example, http://www.microsoft.com/china/index.htm. Its meaning is as follows:
Http: //: Indicates Hypertext Transfer Protocol. A web page is displayed on the microsoft.com server, which is usually not input;
Www: represents a Web (World Wide Web) server;
Microsoft.com/:the Domain Name of the server with web pages or the name of the site server;
China/: The subdirectory on the server, just like our folder;
Index.htm: index.htm is an HTML file (webpage) in the folder ).
For ASP. in the. NET programming model, we know that the basic protocol of the Internet is the TCP/IP protocol. However, the application layer is at the top of the TCP/IP model ), it contains all high-level protocols. High-level protocols include file transfer protocol FTP, email transmission protocol SMTP, Domain Name System Service DNS, network news transmission protocol NNTP and HTTP. Hypertext Transfer Protocol (Hyper Text Transfer Protocol) is a Transfer Protocol used to Transfer Hypertext from a WWW server to a local browser. It makes the browser more efficient and reduces network transmission. It not only ensures that the computer transfers hypertext documents correctly and quickly, but also determines which part of the transmitted documents and which part of the content is first displayed (such as text before graphics. This is why all the web addresses you see in your browser start with "http.
The meaning of the HTTP protocol in the ASP. NET programming model is introduced here. I hope to help you understand the HTTP protocol in the ASP. NET programming model.
- Custom Control DateTimePicker of ASP. NET source code
- Analysis of ASP. NET File Download Functions
- Analysis on constructing ASP. NET thread security set
- Introduction to ASP. NET thread security and static variable Lifecycle
- Analysis of ASP. NET Session usage