The Web Service is in C#
From it I call by reflection a method in a dll
All happen right but when I try to replace the dll the OS says that the dll is locked. I have to finish the aspnet_wp.exe process in order to replace it.
How can I do that the Web Service does not lock the dll.
The code where I call the dll is
string dir = "c:\\businet\\netclases\\";
Assembly asm = Assembly.LoadFile(dir + modulo + ".dll");
Type tipo = asm.GetType(modulo + "." + clase);
Ipaq mod = (Ipaq)Activator.CreateInstance(tipo);
var resp = mod.Ejecuta(paq);