Taking the standard structure of a blazor wasm project as an example, with the MainLayout
component and razor pages denoted by the @page
directive that is, basically I would need to render an element within the MainLayout
component, the one who is calling the @Body
directive, that is defined (as html) in another component which is a @page
Reason behind this is that I wish I could reserve a particular “spot” in the layout defined in the MainLayout
for the pages to consume it and “inject” their stuff in there.
Something like you do with children RenderFragments
but in the opposite direction.
Is it even possible?