ASP.NET and dynamically loading assemblies

Discussion in 'ASP .Net' started by Michael Gaillez, Jun 23, 2004.

  1. 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
     
    Michael Gaillez, Jun 23, 2004
    #1
    1. Advertising

  2. Michael Gaillez

    Oleg Ogurok Guest

    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.

    "Michael Gaillez" <> wrote in message
    news:...
    > 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
    >
    >
     
    Oleg Ogurok, Jun 24, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Danish Ahmed

    Dynamically Loading Assemblies in ASP.NET

    Danish Ahmed, Apr 15, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    884
    Lionel LASKE
    Apr 17, 2005
  2. Barry Kelly
    Replies:
    4
    Views:
    4,714
    Barry Kelly
    Dec 7, 2004
  3. WT
    Replies:
    5
    Views:
    6,181
    gerardopg
    Jun 5, 2010
  4. Tor Bådshaug
    Replies:
    1
    Views:
    1,991
    bruce barker
    May 22, 2008
  5. Carl

    Loading and displaying Web user contol assemblies?

    Carl, Oct 21, 2003, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    100
Loading...

Share This Page