How to Dynamically Build the UI in Blazor Components

added by DotNetKicks
7/22/2019 4:59:22 PM

2 Kicks, 261 Views

The Practical Client You have two tools for generating your initial UI in a Blazor component: ASP.NET's Razor and Blazor's RenderFragment. Here's how to use both to integrate with your C# code (and a warning about what you can't do). You can, using familiar Razor tools when creating a View (or page), dynamically build your component's UI.