In the previous chapter, we hosted NorthwindService
in IIS. Since we will change the service settings in this chapter to support distributed transaction, we need to create a different IIS application for the service.
Just open IIS manager, add a new DistNorthwindService
application, and set its physical path to C:\SOAwithWCFandEF\Projects\DistNorthwind\NorthwindService
. Choose the application pool, NorthwindAppPool
, which was created in the last chapter, as this service's application pool.
Now, you have finished setting up the service to be hosted in IIS. Open Internet Explorer, go to http://localhost/DistNorthwindService/ProductService.svc
, and you should see the ProductService
description in the browser.