Skip to main content

What are AppDomains and why removed in .NET Core?

Expert .NET Core
Quick Answer AppDomains in .NET Framework provided process-level isolation for loading and unloading assemblies independently. They were complex, platform-specific (Windows only), and rarely used correctly. .NET Core removed them for simplicity and cross-platform support. AssemblyLoadContext is the lightweight replacement for dynamic, isolated assembly loading in plugins.

Answer

AppDomains offered isolation and unloading but were heavy and complex. .NET Core replaced them with AssemblyLoadContext for lighter, flexible loading and unloading models.

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