I. Using VS to build a Web site
General principles of website operation:
1. All Web programs need one thing to run: Web Server Software.
2.web Server Software functions: Receives requests, responds to requests. Passive-no response is not requested.
Similar to: Waiter.
Java--tomcat
Php--apache
Asp/aspx--iis (development, operation)/iis Express (development)
Where is IIS?
The server operating system comes with the default. Windows nt,window2000 server,windows2003 server,windows2012 Server
PC operating system is not with the default. windows95/windows98/windows2000 professional/windows me/windows xp/windows vista/windows7/windows8
How do I install IIS? Slightly
Registering the. NET Framework version with IIS: Aspnet_regiis-i
The difference between a dynamic page and a static page:
. html,htm: When the page is found by IIS, it responds directly to the client.
. Asp,.aspx,.php,.jsp:iis after the page is found, it is processed by the. NET Framework program and then responds to the client.
. NET Framework version of the issue:
. NET Framework Current version: 1.0/1.1/2.0/3.0/3.5/4.0/4.5
Version of VisualStudio: 2002/2003/2005/2008/2010/2012
IIS configuration:
1. Home directory.
2. Permissions configuration: Iuser,iis_user user Full Control.
3. Application Pool Selection
4. Set the default document
How do I deploy multiple Web sites on a single server?
1. Use a virtual directory, or an application implementation.
2. Create a new site. First step: New assigned IP; second step: Create a new site.
3. New port: The same IP, assigning a new port.
VS Build Web Site 20141201