You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
We are currently working on an application which needs to load external asssemblies containing strongly typed views and models which are to be used in a generic controller. We've gotten as far as loading the assemblies using a custom AssemblyProvider, and we're able to load the views using either a custom file provider loading the views from the database or using the new EmbeddedFileProvider, but we are having issues when the views are compiled runtime - the model classes isn't being resolved.
It is a requirement that new class libraries / models should be made available without having to restart the application.
What are we missing? After adding the AssemblyProvider for loading assemblies from a custom directory we are able to resolve the type when creating an instance of the dynamically loaded model, but the type is still not resolved during runtime compilation of the razor views.