Using Silverlight™ components in a LightSwitch® application

DlhSoft provides specific LightSwitch® extensions for these products (available as extra downloads):


Microsoft® reference indicates that Silverlight™ (and recently, HTML5) components may be reused in LightSwitch® applications either as they are or wrapped up within specific custom components. You can also wrap the Silverlight™ components as LightSwitch® extensions yourself if needed, as described within this article.


To set a DlhSoft license for specific client Silverlight™ components used in applications hosted in an environment that doesn't support resource-based licensing, developers need to call a static method at application initialization time (before creating component instances), providing the license file content as a string parameter:

[Namespace].Licensing.[ComponentName].SetLicense("[...]");