smapiot / piral

🚀 Framework for next generation web apps using micro frontends. ⭐️ Star to support our work!
https://piral.io
MIT License
1.68k stars 125 forks source link

piral-blazor Should Support Core Blazelets and Shared DLLs #626

Closed FlorianRappl closed 1 year ago

FlorianRappl commented 1 year ago

New Feature Proposal

Description

We need to support declaring of shared dependencies and core pilets with the piral-blazor converter.

Background

The Piral.Blazor v9 (7.0.9) will come with some interesting possibilities and a new model for loading pilets / their dependencies. This new model makes it necessary to mark some dependencies (.NET DLLs) as shared in order to be loaded in a different context, from where multiple pilets can (re) use them.

All other / normal dependencies are exclusively loaded in the loading context of the pilet - making it possible to unload among other things.

Furthermore, to circumvent some issues of the past there is the new possibility of already loading a Blazor pilet ("Blazelet") already with the app shell - effectively distributing it with the emulator.

Discussion

Anything else that needs additional support / improved handling?