Tamer Khalil

Tamer Khalil

  • NA
  • 645
  • 205.9k

Dynamically loading and unloading assemblies in ASP.NET MVC

Aug 3 2015 9:53 AM
Hi,
 
I have a web application that loads assemblies dynamically on runtime, and gets the assembly paths from the database and call methods  from it using reflection. However I can't unload  the assembly loaded, after I'm done with it.

My issues arises from that there are some dlls that got the same name, when the first one is loaded it works fine, when the second one is loaded afterwards it doesn't replace it, so it causes unwanted behaviour.

Thanks

Answers (1)