Пример. Привязка к данным в ASP.NET Core Blazor
Aтрибут директивы -@bind
inputValue:InputValue:
Исходный код
-------------------------Pages\Bind\Bind.razor
@page "/bind"
<p>
<input @bind="inputValue" />
</p>
<p>
<input @bind="InputValue" />
</p>
<ul>
<li><code>inputValue</code>: @inputValue</li>
<li><code>InputValue</code>: @InputValue</li>
</ul>
@code {
private string inputValue;
private string InputValue { get; set; }
}