.NET 5.0
dotnet add package Modulight.UI.Blazor --version
NuGet\Install-Package Modulight.UI.Blazor -Version
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.
<PackageReference Include="Modulight.UI.Blazor" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Modulight.UI.Blazor --version
#r "nuget: Modulight.UI.Blazor,"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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=

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


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 =>

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 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.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

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

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 274 5/31/2021
0.0.7 259 5/31/2021
0.0.6 229 5/30/2021
0.0.5 228 4/3/2021
0.0.5-preview.16 170 3/13/2021
0.0.5-preview.15 163 3/12/2021
0.0.5-preview.14 137 3/12/2021
0.0.5-preview.13 140 3/12/2021
0.0.5-preview.12 122 3/12/2021
0.0.5-preview.11 121 3/10/2021
0.0.5-preview.10 144 3/10/2021
0.0.5-preview.4 120 3/4/2021
0.0.5-preview.2 134 3/4/2021
0.0.4 187 3/4/2021
0.0.4-preview.40 106 2/22/2021
0.0.4-preview.30 246 2/21/2021
0.0.4-preview.28 147 2/20/2021