Is an Automation Script executed in a unique AppDomain or are AppDomains shared for all scripts?
Gellynck Jens [SLC] Posted new comment 7th September 2022
![](https://community.dataminer.services/wp-content/uploads/wp-user-manager-uploads/2022/09/skyline_logo_Duo_ukraine-4.jpg)
Interesting, thanks for the info!
All automation scripts currently get executed within the same AppDomain
Gellynck Jens [SLC] Selected answer as best 7th September 2022
Microsoft actually recommends to not use AppDomains anymore, as they are resource-expensive. For code isolation, use separate processes or containers as an alternative. See https://docs.microsoft.com/en-us/dotnet/core/porting/net-framework-tech-unavailable#application-domains