ASP.NET and dynamically loading assemblies

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
 
O

Oleg Ogurok

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

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,045
Latest member
DRCM

Latest Threads

Top