It appears that WAS will call ServiceHostFactory.CreateHost() once per each service implementation. How does WAS manage the lifetime of the ServiceHost/ServiceHostFactory? We have a custom factory/host that is occasionally being re-initialized. I’m wondering if WAS is recycling itself or it has some other reason to re-create the ServiceHostFactory/ServiceHost. I’m guessing the ServiceHostFactory gets fired up for the AppDomain and is a singleton, can someone confirm?
It appears that WAS will call ServiceHostFactory.CreateHost() once per each service implementation. How does
Share
After instrumenting WCF, it appears that IIS/WAS will create a ServiceHostFactory per endpoint. From there it will spin up ServiceHosts as it sees fit, as this depends on your configuration.