Questions tagged [assemblyloadcontext]

3 questions
0
votes
0 answers

ASP.Net core web app not unloading other Razor Assembly which were loaded dynamically

I am having a razor web app where few other razor web app are added dynamically using AssemblyLoadContext Assembly assembly = _loadContext.LoadFromAssemblyPath(pluginLocation); Since razor app assembly are added over run time it was required to add…
0
votes
0 answers

Is there a .NET 7 alternative for creating AppDomain with LoaderOptimization?

Allow me to recount my experience with .NET Framework 4.8's AppDomains. I am presently working on an application that is graphically intensive, requiring approximately 20 seconds to load, with most of the time spent generating the user interface. To…
IneedHelp
  • 1,630
  • 1
  • 27
  • 58
-1
votes
1 answer

Unable to unload Assembly loaded using Custom Assembly Load context

Working on one PoC where i have load and unload assembly on the fly and do Hot reload. i have created custom load context and loading assembly from one folder. Assembly contains only one simple class and implements interface. public class MyPlugin :…