This is advanced sample based on https://github.com/BlazorPlus/BlazorDemoKeepPageState
Add tab control for opened pages , allow user to close them.
1 - copy the MultiPagesTabRouteView.cs
2 - In App.razor , replace to MultiPagesTabRouteView
3 - copy the MainLayout.razor , modify the GetUrlMaxLifeSpan and UI as you like .
4 - Modify Index.razor and implement the IMultiPagesTabPage