Skip to main content

What is the purpose of AppDomain in .NET?

Expert C#
Quick Answer In .NET Framework, AppDomains provided isolation between parts of an application in the same process รขโ‚ฌโ€ you could load and unload assemblies independently. In .NET Core they were removed because they were too complex and slow. AssemblyLoadContext is the modern replacement for dynamic assembly loading.

Answer

AppDomains provided isolation and sandboxing in .NET Framework. .NET Core replaces them with AssemblyLoadContext.

S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice