How does the new [SupplyParameterFromForm] attribute work in .NET 8 for SSR forms?

Last updated 5 July 2026

  • [SupplyParameterFromForm] binds a component property to values from a standard HTML form POST during static server-side rendering (no WebSockets or WebAssembly needed).

  • Give the EditForm a FormName so Blazor knows which form was submitted. The submit handler (e.g. OnValidSubmit) then runs on the server.

  • An anti-forgery token is added automatically, so AntiforgeryMiddleware must be in the pipeline.

  • https://www.youtube.com/watch?v=5H_Qup4_sL8
  • https://blazor-university.com/forms/handling-form-submission/
  • https://jonhilton.net/blazor-ssr-forms/
  • https://learn.microsoft.com/en-us/aspnet/core/blazor/forms/?view=aspnetcore-10.0
  • https://learn.microsoft.com/en-us/aspnet/core/blazor/forms/binding?view=aspnetcore-10.0
  • https://github.com/dotnet/aspnetcore/issues/52360
  • https://www.telerik.com/blogs/blazor-net-8-preview-6-server-side-rendering-edit-forms-interactive-wasm-components
All Blazor interview questions