Skip to content

About

Minimal repro for cookie TempData persistence failure in non-streaming Blazor SSR

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

TempDataRepro

Minimal reproduction of cookie-backed [SupplyParameterFromTempData] failing during a non-streaming static SSR EditForm submission on .NET 11 Preview 7.

  1. Run dotnet run.
  2. Open the displayed URL.
  3. Select Set TempData and redirect.

The server logs CookieTempDataNotPersistedAfterResponseStarted, and the redirected page doesn't display the expected message. The app doesn't enable an interactive render mode, session state, or [StreamRendering].

The project intentionally omits <BlazorDisableThrowNavigationException>true</BlazorDisableThrowNavigationException>. This matches apps created before the new Preview 7 template default and exercises the legacy navigation-exception path. Adding that property prevents the failure.

About

Minimal repro for cookie TempData persistence failure in non-streaming Blazor SSR

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages