1

I'm trying to build a system which consists of:

  1. A centralized IIS component
  2. A Client application written in .Net
  3. A Third party application.

The .Net Client should on startup connect to a WCF Net.Tcp Binding on the IIS application and register it's self as a consumer of requests (Callbacks).

The Third party application will then make Web Service calls to the IIS server which will farm out the request to the .Net Clients.

How do I host mutliple WCF services IIS? Is this possible?

I assume that I'd have to instantiate the services in the web.config as endpoints but I'm not sure how to do this.

Omar Kooheji
  • 54,530
  • 68
  • 182
  • 238

1 Answers1

1

You could use multiple SVC files hosted within the same application or you could use MVC-style Routing to establish the multiple ServiceHosts.

Here is an MSDN example on hosting WCF within IIS using web.config and SVC files.

SliverNinja - MSFT
  • 31,051
  • 11
  • 110
  • 173
  • Thanks, I think I'd gotten that far by searching the internet after I asked the question. I'm still having trouble getting hte net.TCP binding to work under IIS. See this Question http://stackoverflow.com/questions/10316457/cant-access-net-tcp-service-from-wcf-test-client/10316856#10316856 – Omar Kooheji Apr 25 '12 at 13:51
  • I hadn't actually noticed you'd already posted an answer to that question. Thanks. – Omar Kooheji Apr 25 '12 at 14:06