Tech Tutorials Database
GeekArticles Microsoft Microsoft.NET
 

Separate UI and Code in Blazor

 
Author: dotnetbips.com
Category: Microsoft.NET
Comments (0)

Blazor apps consist of one or more components. Components reside in .razor files and consist of UI markup and C# code. When you create a new Blazor server or WebAssembly project it stores component UI and code in a single file. However, at times this single file approach might not be adequate. Luckily, you can separate your UI markup and C# code easily. This article shows how.

Read More...




Sponsored Links




Read Next: Pass Parameters to Blazor Components



 

 

Comments