MeshWeaver.Hosting.Blazor 2.0.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package MeshWeaver.Hosting.Blazor --version 2.0.3
                    
NuGet\Install-Package MeshWeaver.Hosting.Blazor -Version 2.0.3
                    
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="MeshWeaver.Hosting.Blazor" Version="2.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MeshWeaver.Hosting.Blazor" Version="2.0.3" />
                    
Directory.Packages.props
<PackageReference Include="MeshWeaver.Hosting.Blazor" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MeshWeaver.Hosting.Blazor --version 2.0.3
                    
#r "nuget: MeshWeaver.Hosting.Blazor, 2.0.3"
                    
#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.
#addin nuget:?package=MeshWeaver.Hosting.Blazor&version=2.0.3
                    
Install MeshWeaver.Hosting.Blazor as a Cake Addin
#tool nuget:?package=MeshWeaver.Hosting.Blazor&version=2.0.3
                    
Install MeshWeaver.Hosting.Blazor as a Cake Tool

MeshWeaver.Hosting.Blazor

Overview

MeshWeaver.Hosting.Blazor provides extensions for hosting Blazor Server applications within the MeshWeaver mesh. It enables real-time UI updates through SignalR and integrates with the mesh's message routing system.

Usage

var builder = WebApplication.CreateBuilder(args);

// Configure Blazor hosting
builder.ConfigureWebPortalServices();

// Configure MeshWeaver with Blazor support
builder.UseMeshWeaver(
    new MeshAddress(),
    config => config
        .ConfigureWebPortal()
        .UseBlazorServer()
        .ConfigureServices(services => 
        {
            services.AddRazorPages();
            services.AddServerSideBlazor();
        })
);

var app = builder.Build();

// Configure the Blazor pipeline
app.UseStaticFiles();
app.UseRouting();
app.MapBlazorHub();
app.MapFallbackToPage("/_Host");

app.StartPortalApplication();

Features

  • Blazor Server integration
  • Real-time UI updates via SignalR
  • Mesh message routing in Blazor components
  • Component state management
  • Integrated authentication

Integration

  • Built on MeshWeaver.Hosting
  • Works with both monolithic and Orleans hosting
  • Supports standard Blazor Server features

See Also

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.0 0 4/6/2025
2.0.3 472 3/24/2025
2.0.2 443 3/24/2025
2.0.1 92 3/21/2025
2.0.0 131 3/20/2025
2.0.0-preview3 90 2/28/2025
2.0.0-Preview2 83 2/10/2025
2.0.0-preview1 106 1/6/2025
1.0.1 111 10/8/2024
1.0.0 108 10/8/2024