Skip to main content

What are AppDomains and why are they removed from .NET Core?

Expert C#
Quick Answer AppDomains in .NET Framework let you load and unload assemblies independently within one process. They were removed in .NET Core because they were expensive, rarely used correctly, and did not work cross-platform. AssemblyLoadContext is the lightweight replacement for plugin and isolated assembly loading scenarios.

Answer

AppDomains provided isolation but were heavy and difficult to unload.

.NET Core replaced 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