3
Answers

Want to run the multiple wcf service on the same machine

dipak mange

dipak mange

8y
334
1
We have one wcf service hosted using window services. This service works as the server and can accept TCP connections. currently it works fine with 70 connections but when connections exceeds the service goes slower and new connections do not get established. So now on the same machine we want to run multiple instances of this wcf service owith its own configuration so that we can have more than 200 connections. Questions is if we add multiple end points in the service does it create two separate instances of services running in separate processes or thread? or is it same service instance accessed by different end points? 
Answers (3)
0
Vignesh Mani

Vignesh Mani

NA 13.4k 938.2k 8y
https://www.youtube.com/watch?v=Pdz3cZKisWg
Accepted
0
dipak mange

dipak mange

NA 33 346 8y
appreciate for quick reply. I went through the links you provided. In my case I have the same service contract for multiple endpoints with only different port number. If I host both  end points using the same window service then both endpoints will run under the same process? 
0
Vignesh Mani

Vignesh Mani

NA 13.4k 938.2k 8y
Hi friend please refer below link
 
http://dotnetmentors.com/multiple-wcf-services-in-one-solution-with-multiple-endpoints-and-hosting.aspx