Nabs.Launchpad.Core.Portal 10.0.229

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Nabs.Launchpad.Core.Portal --version 10.0.229
                    
NuGet\Install-Package Nabs.Launchpad.Core.Portal -Version 10.0.229
                    
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="Nabs.Launchpad.Core.Portal" Version="10.0.229" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nabs.Launchpad.Core.Portal" Version="10.0.229" />
                    
Directory.Packages.props
<PackageReference Include="Nabs.Launchpad.Core.Portal" />
                    
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 Nabs.Launchpad.Core.Portal --version 10.0.229
                    
#r "nuget: Nabs.Launchpad.Core.Portal, 10.0.229"
                    
#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 Nabs.Launchpad.Core.Portal@10.0.229
                    
#: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=Nabs.Launchpad.Core.Portal&version=10.0.229
                    
Install as a Cake Addin
#tool nuget:?package=Nabs.Launchpad.Core.Portal&version=10.0.229
                    
Install as a Cake Tool

NuGet

Nabs.Launchpad.Core.Portal

Nabs.Launchpad.Core.Portal provides reusable startup and middleware conventions for authenticated Blazor Server portal applications.

Installation

dotnet add package Nabs.Launchpad.Core.Portal

The Problem

// 1) Blazor portal startup is repeated across apps
builder.Services.AddRazorComponents().AddInteractiveServerComponents();

// 2) User context extraction from claims is duplicated

// 3) Auth and localization middleware order is easy to break

Features

  • Startup extensions with AddPortalServices and UsePortalServices<TApp>
  • JWT auth integration via JwtAuthenticationExtensions
  • User context middleware for per-request context hydration
  • Blazor server and localization defaults for portal apps

Usage

builder.AddPortalServices(options =>
{
    options.PortalContext = new PortalContext { PortalBasePath = "/admin" };
});

var app = builder.Build();
app.UsePortalServices<App>();

Configuration

Configure PortalServiceOptions in startup, including PortalContext, auth settings, and optional additional Razor assemblies.

Project Structure

  • ProjectExtensions.cs - portal startup and middleware pipeline helpers
  • JwtAuthenticationExtensions.cs - auth registration
  • Middlewares/UserContextMiddleware.cs - user context population

License

Copyright (c) Net Advantage Business Solutions.

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.