How do you consume a Blazor component library?
You can consume a library in either of two ways: Full name with namespace Using Razor’s @using directive If the MyComponentLib is the component library and MyComponent is the component name, those are consumed like in the following. Option 1 Option 2 Refer to the link Consume Blazor a library component.
How do I include a Blazor component library using .NET Core CLI?
You have to use the following command to include a Blazor component library application. Refer the below documentation link for more information. Create a Razor class library for Blazor using .NET Core CLI
How do you include a Blazor component library?
In Visual Studio 2019’s latest preview, create an ASP.NET Core web application and choose the Razor Class Library template with ASP.NET Core 3.0. Refer to this Microsoft link for more information.
What do I do if the name ‘JSRuntime.Current.InvokeAsync‘ does not exist in the current context?
After Blazor 3.0.0-preview3, the Current was deprecated, and you have to use something like the following code example. Before After
Why is _framework/blazor.webassembly.js not found in the deployed Blazor applications?
You have to update the virtual app path or app base path in index.html to resolve this issue. That is, the hosted application expects the assets from root folder of the web server. So, you have to update the subfolder name in index.html to serve the files from the path. For example, if I am hosting the application in http://example.com/blazor/, the index.html looks like the following. For more information, refer to the link for updating app-base-path.