Orleans.Lattice.Explorer.Entra.Web 9.4.0

dotnet add package Orleans.Lattice.Explorer.Entra.Web --version 9.4.0
                    
NuGet\Install-Package Orleans.Lattice.Explorer.Entra.Web -Version 9.4.0
                    
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="Orleans.Lattice.Explorer.Entra.Web" Version="9.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Orleans.Lattice.Explorer.Entra.Web" Version="9.4.0" />
                    
Directory.Packages.props
<PackageReference Include="Orleans.Lattice.Explorer.Entra.Web" />
                    
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 Orleans.Lattice.Explorer.Entra.Web --version 9.4.0
                    
#r "nuget: Orleans.Lattice.Explorer.Entra.Web, 9.4.0"
                    
#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.
#:package Orleans.Lattice.Explorer.Entra.Web@9.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Orleans.Lattice.Explorer.Entra.Web&version=9.4.0
                    
Install as a Cake Addin
#tool nuget:?package=Orleans.Lattice.Explorer.Entra.Web&version=9.4.0
                    
Install as a Cake Tool

Orleans.Lattice.Explorer.Entra.Web

Microsoft Entra ID hosted-web (OpenID Connect) sign-in for the Orleans.Lattice Explorer web console.

The interactive desktop provider (Orleans.Lattice.Explorer.Entra) runs a browser flow on the machine that hosts the UI. That cannot work for a remotely hosted Blazor Server console: the circuit runs on the server, which has no local browser. This package serves that topology instead.

It wires:

  • ASP.NET Core OpenID Connect (auth-code + PKCE) and a cookie session through Microsoft.Identity.Web, with an optional fallback authorization policy that challenges unauthenticated requests into the sign-in redirect.
  • A scoped IExplorerAuthMethod for the entra scheme that exchanges the signed-in browser session for a downstream State API bearer token (acquired for the circuit's authenticated user) and refreshes it silently.
  • An optional best-effort circuit handler that completes the State API sign-in automatically, so an already browser-authenticated user connects without a manual click.

Quick start

builder.Services.AddLatticeExplorerEntraWebAuth(options =>
{
    options.TenantId = builder.Configuration["Explorer:Entra:TenantId"];
    options.ClientId = builder.Configuration["Explorer:Entra:ClientId"];
    // Leave ClientSecret unset and attach a federated managed-identity
    // credential via ConfigureMicrosoftIdentityOptions for a secret-less host.
});

On a multi-replica host select the distributed token cache and register a shared IDistributedCache (for example Orleans.Lattice.Caching.AzureBlob):

builder.Services.AddLatticeExplorerEntraWebAuth(options =>
{
    options.TenantId = tenantId;
    options.ClientId = clientId;
    options.TokenCache = ExplorerWebTokenCacheKind.Distributed;
});

See the package documentation for configuration and the full sign-in flow.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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
9.4.0 381 8/29/2026
9.3.0 102 8/25/2026
9.2.0 114 8/23/2026
9.1.0 112 8/20/2026
9.0.0 131 8/14/2026
8.0.3 126 7/24/2026
8.0.2 161 7/22/2026
8.0.1 133 7/22/2026
8.0.0 120 7/22/2026