How to use single windows service to host multiple WCF Services. I have a mutiple instance of same WCF service in different folder, each instance has unique service name and port. WCFService has reference to Reg-Free COM Reference, i have Native.WCFService.manifest
in each folder.
WCFService1 is in "C:\WCFService01\WCFService.dll, Native.OCWCFService.manifest, OCWCFService.dll.config
WCFService2 is in "C:\WCFService02\WCFService.dll, Native.OCWCFService.manifest, OCWCFService.dll.config
Now i need host above services from single Windows Service. I am trying to create AppDomain for each above WCFService Instance from Windows Service and then host. Its working if i register COM dll in the server using regsvr32, but when i un register COM
dll, i am getting unable to load COM component ....
This looks like AppDomain is not loading COM DLL and Manifest files.
Its looks strange but we need it in this way because we have production and test environment in the same server.
Everything works fine if create a seperate Windows Service for each WCFService Instance, but my manager wants single Windows Service :).
Any help whould be really appreciated.
ravi kumar reddy
View Complete Post