11.07.2015 Views

y - Net Developer

y - Net Developer

y - Net Developer

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

amrameshreddy.blog.com170 CHAPTER 5 ■ HOSTING AND CONSUMING WCF SERVICESramrameshreddy.blog.comFigure 5-15. Setting the properties for a new application in the Internet Information Services (IIS)ManagerIf you did everything correctly, your service is reachable through IIS 7.0. You can testthis by navigating to your newly created application, for example: http://localhost:8080/QuickReturns/Exchange.svc/ExchangeService.Windows Activation ServicesWAS enables you to host any WCF service, supporting any transport inside the IIS model. WAStakes over creating worker processes and providing the configuration from the original W3svc.exe Windows service that you know from IIS 6.0 (and runs inside the Inetinfo.exe process).WAS and IIS now share the configuration store that defines sites, applications, applicationpools, and virtual directories. In this section, we’ll walk you through the process of activationwith WAS, as shown in Figure 5-16.By default when no requests are being made to a newly booted server, Windows runs fiveservices (if all the protocols are enabled). These are the following Windows services:• WAS• World Wide Web Publishing Service (hosting the listener adapter)• NET.TCP listener adapterramrameshreddyramrameshreddy• NET.PIPE listener adapter• NET.MSMQ listener adapterWhen the listener adapters start, they register themselves with WAS and receive the WAS/IISconfiguration for their specific protocols. In this way, the listener adapters are aware of the sitesand applications they should support. Each listener adapter then starts listening on the appropriateports provided with the configuration so it can dispatch the requests coming in to theappropriate application.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!