What is the lifetime of an AppDomain in WCF?

What is the lifetime of an AppDomain in WCF?

Is it related to InstanceContextMode, ConcurrencyMode and / or AspNetCompatibilityRequirements RequirementsMode?

I want to know how long my static variables will last and how often they will need to be recreated.

+3


source to share


1 answer


WCF does not actually manage the lifetime of the application domain the host does. If you are hosting a Windows service, then this is the service life. If you are hosting in IIS, this is the application pool lifecycle that undergoes all sorts of rework depending on how it is configured.



+6


source







All Articles