Question is, Does IIS create seperate app domain for each service call when I have ConcurrencyMode
as Multiple
and InstanceContextMode
as PerCall
?
My IIS hosted WCF service contract implementation looks like below
[ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Multiple, InstanceContextMode = InstanceContextMode.PerCall)]
public class Serice: IService
{....}
The idea was to test and ensure how ServicePointManager.SecurityProtocol (TLE/SSL) can be conditionally set within IIS to talk to other third party services (based on their transition schedule some service support SSL and some TLE). Therefore the conclusion is only single app domain.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.