1. First ensure that IIS is installed on the system
"Control Panel" → "Programs" → "programs and features" → "Turn Windows features on or off"
Select all the options under Internet Information Services and click OK.
2. get the published program Files
If it is not published, right-click on the item and select Publish. Note The Publish method selects the file system
3. Open IIS, right-click on the website, select Add Web site
4. 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 for the published file system, port Select a port other than 80, note that the port also has a certain range.
5. You can now see the new Web site on the left, click on the application pool above
6. Locate the new application pool on the right, double-click
7. 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
8. Click New website → click content view → Select the website start page or the Svc file → right click to browse
9. in general, the site will be able to access the normal
On other computer browsers, just replace localhost with your IP address, and the port will remain on.
If you encounter the following problems:
The solution is as follows:
1. Check if the NET.TCP protocol is enabled in IIS, and if not, add it.
2. Configure the Net.TCP route in the site bindings as follows: Right-click Site Select Edit Bindings, and then add net.tcp type bindings.
So the nettcpbinding agreement is supported, restart the site as follows, then successfully launched.
Win7 publishing a Web Site System deployment project with IIS