17

Leveraging Open-Source Blazor Component Libraries

This chapter is about exploring open-source Blazor component libraries. We will look at Radzen Blazor in detail because it is free forever, and many of the other component libraries work in the same way. For example, they all include:

  • A NuGet package to install.
  • Themes, stylesheets, and JavaScript libraries to register, which often work like or integrate with Bootstrap.
  • Namespaces to import, usually in _Imports.razor, so the components are available in your Razor files.
  • Services that must be registered as scoped dependency services, and matching components that must be instantiated in shared layouts before you can use features like notifications and dialog boxes.

Once you have learned how ...

Get Apps and Services with .NET 7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.