Blazor Sections: How to update `SectionOutlet` in `MainLayout`?
There is a new feature called Sections in Blazor 8, and I want to use it for my Blazor Web App. I want to update a value changed in a page, but shown in a SectionOutlet
in MainLayout
. So I inserted a SectionOutlet
in the MainLayout.razor
:
Blazor SectionOutlet and SectionContent within the same page
I want to use both Section
-Components within the MainLayout.razor
, but it does not work, and I presume, it’s not possible. My code so far: