Deployment of WebResources - aardvark-platform/aardvark.docs GitHub Wiki

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