Description
Allow me to set some context first. We are heavily invested in Blazor but we had to take a pause because of the incomplete auth story. I tweeted this out and @danroth27 kindly responded asking me to check if it was fixed in NET8. And it has been! So we're back on the Blazor bandwagon now.
However while we were upgrading, we saw the following suggestion
- app.MapBlazorHub();
+ app.MapRazorComponents<App>()
+ .AddInteractiveServerRenderMode()
And we're kind of stuck here since our previous call to MapBlazorHub looked like this:
endpoints.MapBlazorHub(config =>
{
config.CloseOnAuthenticationExpiration = true;
});
And we're unable to find out where we should be moving the CloseOnAuthenticationExpiration call to?
Is this something that you're able to help us with?
Cheers and thanks for all the great work!
Page URL
https://learn.microsoft.com/en-us/aspnet/core/migration/70-80?view=aspnetcore-7.0&tabs=visual-studio
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/migration/70-80.md
Document ID
534ab561-09c5-c33b-4394-0effba34d666
Article author
Rick-Anderson
Description
Allow me to set some context first. We are heavily invested in Blazor but we had to take a pause because of the incomplete auth story. I tweeted this out and @danroth27 kindly responded asking me to check if it was fixed in NET8. And it has been! So we're back on the Blazor bandwagon now.
However while we were upgrading, we saw the following suggestion
And we're kind of stuck here since our previous call to
MapBlazorHublooked like this:And we're unable to find out where we should be moving the
CloseOnAuthenticationExpirationcall to?Is this something that you're able to help us with?
Cheers and thanks for all the great work!
Page URL
https://learn.microsoft.com/en-us/aspnet/core/migration/70-80?view=aspnetcore-7.0&tabs=visual-studio
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/migration/70-80.md
Document ID
534ab561-09c5-c33b-4394-0effba34d666
Article author
Rick-Anderson