EXT ComponentsBlazor
This page was created by Hans.karlsen@mdriven.net on 2024-09-02. Last edited by Stephanie@mdriven.net on 2025-03-13.

Blazor is a client side framework utilizing web assemblies.

Components for this framework must be built as blazor web assembly components.

The assemblies you build end up in your bin folder with extension dll - but you will also need to have include the component in Blazor application, because when Visual Studio builds the application it creates further variant files of your assembly that we will need.

Documentation EXT ComponentsBlazor 1725280581631.png

The App is pretty much an empty shell taken straight from the wizard in Visual Studio for the BlazorApp - we add a project reference to the RazorClassLibrary1 project - this is the project that will produce the assembly with our Component1.