Summary
In this chapter, we covered some interesting topics and concepts in Blazor, from understanding layouts and creating our first one to discovering the amazing concept of templated components while developing and using two interesting components. After that, we went a bit more advanced into showing the power of the DynamicComponent
available in Blazor, and finally, we covered the Razor Class Library, understood its benefits, and created and referenced our own component.
After completing this chapter, you should now be able to do the following:
- Create and consume different layouts for your application
- Create templated components to help you wrap and reduce the amount of repeated code by defining a template for a certain task such as a modal popup or a data list view
- Take advantage of the ability of
DynamicComponent
to have more dynamic UIs in your apps - Create and reference Razor Class Library projects to have a more organized project structure and more reusability...