Locally written Web applications can be published directly to the local, directly through the browser, without requiring each F5. You will be using IIS now. This article describes in more detail how to install IIS and deploy the program to IIS.
First, install IIS.
IIS is preloaded in the Win7 flagship, and only needs to be set up. In XP, you need to download the installation package, and then install and configure it. In addition, in the Win7 Home normal edition of IIS is truncated version, configuration seems to not use (I have not tried, but the Internet is recommended to upgrade the normal version of the family to professional or flagship version).
Here's a more detailed method of installing IIS that I've collected:
Win7 Flagship edition: Http://jingyan.baidu.com/article/19192ad853224ce53f570748.html
XP Version: http://blog.csdn.net/gdlmo/article/details/1007538
After you install IIS successfully, the following interface appears in the browser address bar 127.0.0.1. Cool ...
II. Deployment of Web programs
Installing IIS successfully the next step is to deploy the program.
1, open Internet Information Services Manager (IIS Manager for short)
Open path to (Win7 flagship): Control Panel---System and security---management tools---Internet Information Services Manager
2. Add Web programs to IIS
First add a Web site, and then set it
When you add a Web site, be aware that you want to change the application pool to ASP.net V4, which is the path of the Web program to be published in the physical path;
Binding type Select HTTP, binding port it is best to choose a 1024 after the bar, as long as there is no conflict. It's half done now, click OK
Then, on the list of websites on the left, you can see the new Web site you just created. If you connect in the browser, you will get an error.
We need to do two more settings: Change the application pool identity to LocalSystem and enable the parent path.
Select the new Web site, click ASP under the IIS bar of the middle option, and select Enable parent path to True
Select the application pool in the left sidebar, select the new application pool, right-click the advanced setting, and change the application pool identity to LocalSystem
It's done.
Enter the 127.0.0.1:8090 in the browser (the port number following the address is set to its own setting) to see that the program is running.