-
Notifications
You must be signed in to change notification settings - Fork 5
Deployment of WebResources
Harald Steinlechner edited this page Nov 9, 2018
·
1 revision
The portable mechanism for deploying .js/.css/ files in aardvark.media is to use assembly resources.
In your WebPart, add an entry point using Reflection.assemblyWebPart :: System.Type -> WebPart
as demonstrated here:
AssembleWebPart
For libraries, we propose to follow the pattern to define a marker type EmbeddedResources
. Users of the library manually need to register all assembly web parts using the EmbeddedResources type provided by the namespace of the library.
Dummy Type