Silverlight - Dynamically Loading Assemblies/Code

Download this episode

Description

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.

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      Anthony​WJones

      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.


    • User profile image
      mtaulty
      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.

    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.