We have an Angular 2 app with a .NET backend. Both ends should support installation of additional external modules to be "installed".
That is, an external module can provide:
- A new menu item
- A new screen
- New RESTful endpoints
- Some metadata, that the core backend platform uses to provide authorization, etc...
I was wondering how a new route with a new screen written in Angular can be injected into our app so this new module or extension would be automatically discovered after installation and the menu item would appear as well. Obviously, we'd like that without having to recompile the entire application (Angular frontend or C# backend).
I plan to package extensions as a .zip file that contains different folders for .NET DLLs, angular frontend components and some XML metadata that the installation would need.
Any tips or solutions will be greatly appreciated.