MENU

Fun & Interesting

How To Make Reusable Templates In Blazor (W/ RenderFragment)

Just Blazor Programming 6,597 3 years ago
Video Not Working? Fix It Now

We are going to learn to make reusable templates in Blazor. In order to do that we need the help of a class called RenderFragment. This is a very important topic because it allows one to write incredibly flexible code in any project and with a bit of creativity, can use this in a variety of ways. Component-based frameworks like Blazor have a way of accomplishing this and today you will also learn how to write reusable, flexible code. GET YOUR FREE BLAZOR CHEAT SHEET HERE!!!: JustBlazor.com 00:00 Intro 00:41 RenderFragment 02:35 Reusable Grid 03:26 Project Start 05:09 Using Code-Behind to Clean Up Components 07:13 Adding Grid Data 15:52 Adding Services 20:09 Coding ReusableComponent.razor.cs 21:30 Adding HTML to ReusableComponent.razor 24:43 Creating New ReusableTemplate Component 27:50 Creating ReusableGrid Component with Renderfragments 31:08 Applying ReusableGrid To ReusableTemplate 37:00 Wrap Up References and Fair Use Chill Jazzy Hip Hop Royalty Free Jazz Hop Music Abstract Atmospheric Background by Jorik Basovkground Perhaps you need a bit of guidance in landing the job, passing the interview or succeeding in your Software Career? Book a session: https://contractlancer.com/ Sources https://www.ezzylearning.net/tutorial/a-developers-guide-to-blazor-templated-components

Comment