O'Reilly logo

WCF 4.5 Multi-Layer Services Development with Entity Framework by Mike Liu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hosting the WCF service in IIS

The WCF service is now hosted within a WCF Service Host. You may remember in the last chapter we had to start the WCF Service Host before we ran our test client. Not only do you have to start the WCF Service Host, but you also have to start the WCF Test Client and leave it running while you are doing your test with your own client. In addition, we will add another service later in this chapter to test the distributed transaction support with two databases and it is not that easy to host two services with one WCF Service Host. So, in this section, we will first decouple our WCF service from Visual Studio. We will host it in IIS.

You can follow these steps to host this WCF service in IIS (refer to the Hosting the service ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required