Results 1 to 2 of 2

Thread: Where do we use 'dynamic loading assembly' in .net app.

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2006
    Location
    Chennai
    Posts
    8

    Where do we use 'dynamic loading assembly' in .net app.

    We can dynamically load an assembly to project without needed to add the reference to that assembly.. but its a developer intiative to add the references t o the project, one time task...once executed it binds to the projects. Then in what senerio we use this dynamic loading assemblies comes in. can anyone cleare my doubt..

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Where do we use 'dynamic loading assembly' in .net app.

    The most common scenario that I'm aware of is to create a plug-in architecture for your app. You define an interface that all plug-ins must implement, then developers will build libraries that implement it. At run time your app will browse its plug-in folder and load any assemblies it finds. It will use reflection to determine whether they implement your plug-in interface and, if they do, it will consider them as part of the application.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width