Blazor SSR TempData Example

This is a Blazor Static SSR page which is stateless by nature. Form handling in SSR generally follows the post-redirect-get pattern.

Without TempData, developers often use query parameters or flash cookies to persist data between redirects. That can be unsuitable or cumbersome in some situations.

This example uses BlazorSsrRedirectManager and TempDataAccessor to make TempData persistence and retrieval easy with minimal code. There is also a StatusMessageDisplay helper component.

View the source code on GitHub: https://github.com/mq-gh-dev/blazor-ssr-tempdata