July 2015
Intermediate to advanced
1300 pages
87h 27m
English
Host applications for WCF services can be of various kinds. Besides IIS Express, you can host services inside managed applications, Windows services, and Internet Information Services as well. In most cases, you will need to deploy to IIS, so that scenario is covered here. To host your WCF service in IIS on your development machine, follow these steps:
1. Restart Visual Studio 2015 under administrator privileges.
2. Go to the My Project designer for the WCF service project and select the Web tab.
3. Select the Local IIS option and specify, if required, a different directory; then rerun the WCF service (see Figure 37.6).
FIGURE 37.6 Setting IIS as the deployment web ...