Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Silverlight - Dynamically Loading Assemblies/Code

Download

Right click “Save as…”

  • WMV (WMV Video)
It can be useful to be able to dynamically load assemblies from the web in order to factor the application or add additional code at runtime. Here we look at how we can start doing that.

Follow the Discussion


  • In this demo the type name of the 'plugin' was hard coded into the hosting application.  A more decoupled approach would be to enumerate types in the assembly looking for an implementation of the desired interface.


  • Mike Taultymtaulty Mike Taulty
    Hi,

    Yes, definitely agree - should have called that out in the demo. Generally, if you can keep it out of the code then keep it out of the code Smiley

    Mike.

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.