Book Image

WCF Multi-layer Services Development with Entity Framework - Fourth Edition

By : Mike Liu
Book Image

WCF Multi-layer Services Development with Entity Framework - Fourth Edition

By: Mike Liu

Overview of this book

Table of Contents (20 chapters)
WCF Multi-layer Services Development with Entity Framework Fourth Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
2
Hosting the HelloWorld WCF Service
Index

Hosting the WCF service in IIS


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.