Blazor Routing - multiple modules from assemblies in one app.

Hi, I have an Blazor WebAssembly app that should contain multiple modules from separete Assemblies. Each module contains it's own Pages. I would like to have an custom router that picks the module by the prefix. E.g. /login is routed to the LoginPage from the main assembly, but /modulex/pagex is routed to PageX from the module. Is it possible to acheve this in Blazor?
2 Replies
Mayor McCheese
Mayor McCheese11mo ago
There's an additional assemblies property. In the initial preview I built a custom router to do this from assembly load contexts in a plugin type model, this may have gotten easier.
Want results from more Discord servers?
Add your server