ASP.NET and dynamically loading assemblies

  • Thread starter Thread starter Michael Gaillez
  • Start date Start date
M

Michael Gaillez

Hi,

I'm using Assembly.LoadFrom(...) in an asp.net application. I use it to
dynamically load webcontrols. It works fine but it tends to slow down my
asp.net application. Anybody who has an idea to solve this problem?

mvg

Michael
 
Well, if the assembly rarely changes, you can load it once and keep it in a
class as a static field. This way all users will use it. Be careful about
thread safety though. Static things are shared accross all users.

-Oleg.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top