How does the project program publish to IIS, and how do I deploy the Web site with Win7 on IIS? Once the site system is ready, you need to publish the deployment on the server. Talk to your friends today. How to publish a Web site project on Win7 IIS Deployment ^_^
Tools/Materials
Method/Step
Make sure that IIS is installed on the system if it is not installed
Please go to "control Panel" → "Programs" → "programs and features" → "Turn Windows features on or off"
Select all the options under Internet Information Services to determine
Get the published Program files
If it is not published, right-click on the item and select Publish. Note The Publish method Select File system
Open IIS, right-click on the Web site, select "Add Site"
In the Add Web Site dialog box, enter the site name, select the physical path and port, other default, and then determine
Physical path, select the folder to store the published file system
Port Select a port other than 80
Note that the port also has a certain range
Now you can see our new site on the left, click on the application pool above
Find our new application pool on the right, double-click
The. NET framework that IIS uses by default is version 2.0, where you select the framework version used by the site
If it was developed by VS2010, select 4.0
If it was developed by VS2008, select 3.5
If it was developed by VS2005, select 3.0
Note that the managed pipeline mode is to select integration. If it is "classic", there may be errors at runtime
Click New site → click content view → select Start Page → Right click to browse
OK, the site has been able to access the normal (^o^)/
On other computer browsers, just change localhost to your IP address. Port is still reserved
END
Precautions
The Web. config file generally holds the database string, and after deployment, do not forget to modify
Thank you for your attention, hope to be useful to you oh # ^_^ #
Win7 How to publish a Web Site System deployment project with IIS