Blazor FAQ
-
Blazor FAQ 10-Oct-2021Retrieve a selected value of the select control
How to retrieve a selected value from the select control, you can use either the @bind or @onchange event.;
-
Blazor FAQ 12-May-2021What is the difference between Blazor vs. Razor?
Razor is a popular template markup syntax for .NET. Blazor (Browser + Razor) is a .NET based web framework which can run on the client using WebAssembly or running on the server via SignalR.;
-
Blazor FAQ 12-May-2021How do you preserve the state in Blazor server-side?
Blazor Server is a stateful application framework that maintains a connection to the server. Its state will occur in the server memory known as circuit. We can preserve the state in Blazor server-side three ways:; State Management
-
Blazor FAQ 12-May-2021What is the difference between using @bind and @bind-value?
In Blazor, there is no significant difference between using these two attributes. ;
-
Blazor FAQ 12-May-2021How do I check the framework version?
Using C# conditional preprocessor directives and predefined constants, you can check the Blazor target framework version.;
-
Blazor FAQ 12-May-2021How do I render raw HTML in Blazor?
Raw HTML can be rendered in Blazor by using the MarkupString. ;
-
Blazor FAQ 12-May-2021How do I get two-way binding in Blazor with the Select component?
To use two-way binding in a Blazor component, add the bind attribute to a field. Two-way data binding pushes the changes to the component, gets the data from the component end, and updates its own data accordingly.;