Modulight.UI.Blazor 0.0.7.1

.NET 5.0
NuGet\Install-Package Modulight.UI.Blazor -Version 0.0.7.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package Modulight.UI.Blazor --version 0.0.7.1
<PackageReference Include="Modulight.UI.Blazor" Version="0.0.7.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Modulight.UI.Blazor --version 0.0.7.1
#r "nuget: Modulight.UI.Blazor, 0.0.7.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Modulight.UI.Blazor as a Cake Addin
#addin nuget:?package=Modulight.UI.Blazor&version=0.0.7.1

// Install Modulight.UI.Blazor as a Cake Tool
#tool nuget:?package=Modulight.UI.Blazor&version=0.0.7.1

Modulight.UI.Blazor

Modulight provide a template project for Blazor hosting with Razor Component Client modules.

Use the package Modulight.UI.Blazor to try it.

It provides a navigation layout generated by client modules.

First implement a custom Blazor UI provider.

class CustomBlazorUIProvider : BlazorUIProvider
{
    public CustomBlazorUIProvider(IRazorComponentClientModuleCollection razorComponentClientModuleCollection) : base(razorComponentClientModuleCollection)
    {
    }
}

Then use the provider.

In WebAssembly
builder.Services.AddModules(builder =>
{
    builder.UseRazorComponentClientModules().AddBlazorUI<CustomBlazorUIProvider>();
});

A Sample startup.

In ASP.NET hosting

It needs the package Modulight.UI.Blazor.Hosting to support prerendering.

See README for details.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Modulight.UI.Blazor:

Package Downloads
Modulight.UI.Blazor.Hosting

Support ASP.NET hosting for Modulight.UI.Blazor.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.7.1 221 5/31/2021
0.0.7 214 5/31/2021
0.0.6 184 5/30/2021
0.0.5 184 4/3/2021
0.0.5-preview.16 155 3/13/2021
0.0.5-preview.15 150 3/12/2021
0.0.5-preview.14 121 3/12/2021
0.0.5-preview.13 124 3/12/2021
0.0.5-preview.12 105 3/12/2021
0.0.5-preview.11 107 3/10/2021
0.0.5-preview.10 129 3/10/2021
0.0.5-preview.4 106 3/4/2021
0.0.5-preview.2 117 3/4/2021
0.0.4 145 3/4/2021
0.0.4-preview.40 91 2/22/2021
0.0.4-preview.30 217 2/21/2021
0.0.4-preview.28 132 2/20/2021