A free and open-source web framework that enables developers to create web apps using C# and HTML, developed by Microsoft.
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
Developer technologies | .NET | Blazor
Developer technologies | .NET | Blazor
Sign in to answer