Blazor Binding Convention Property or member
J.P. Bachmann
1
Reputation point
Hey,
I am currently working within a Blazor project for my client and we struggled to find a clear docu that shows MS convention on namings for Blazor bindings.
What is the proposed standard for binding values in Blazor views? Is it recommanded to bind to properties or fields because the documentation is all over the place:
https://learn.microsoft.com/en-us/aspnet/core/blazor/components/?view=aspnetcore-5.0
sometimes properties are bound and sometimes fields are
Sign in to answer