Friday, May 18, 2012

ASP.NET: Load DLL’s from another location

By default your application DLL’s in ASP.NET application are loaded from the bin folder. But what if you want to use a different folder?
The application has some default DLL’s in the bin folder, but I want to be able to load my Module DLL’s from the bin\Modules subfolder. (Don’t ask me why )
To do this add the following to your web.config(also works for the app.config):