Securing 2M+ accounts & $15B+ in assets, protected & secure·B5 Secure™ — per data-element authorization for .NET platforms

Start your 30-day free trial.

B5SecurityKit · .NET 10 · NuGet

Start your 30-day free trial.

Evaluate B5SecurityKit unrestricted for 30 days on your developer workstations and test servers. No credit card. Drop in a trial key and ship Never Trust, data-element authorization on .NET 10 today.

30 days · unrestricted
Dev & test servers only
No credit card
.NET 10 · C# 14
Trial License Key

Your 30-day key, issued instantly.

The 30-day trial license entitles you to evaluate any B5SecurityKit package unrestricted for thirty (30) days, on developers’ workstations or test servers only.

Trial License KeyIssued on trial start
B5-TRIAL-AK39F-7XQ2M-4PLZ8-WD6CN-V0H51
Start a free trial to reveal and copy your 30-day key.

Expires 30 days after activation·Dev & test servers only·One key per organization

Register your key

Five ways to register your license.

The B5SecurityKit license key unlocks unrestricted access to all B5 packages. Register it once in your top-level host project. The key is white-space insensitive, so it can be broken across multiple lines.

a appsettings.json — ASP.NET Core

The easiest way for ASP.NET Core apps — add the b5secure:license setting:

{
  "b5secure": {
    "license": "{your-trial-key}"
  }
}

b Web.config / App.config — .NET Framework

For .NET Framework apps still on the migration path, add it to <appSettings/>:

<appSettings>
  <add key="b5secure:license" value="{your-trial-key}" />
</appSettings>

c Environment variable

When running multiple B5 apps, register once via B5SECURE_LICENSE (restart your host to pick it up):

# macOS / Linux
export B5SECURE_LICENSE="{your-trial-key}"

# Windows (PowerShell)
setx B5SECURE_LICENSE "{your-trial-key}"

d In code, before startup

Call B5License.Register() before the Never Trust pipeline is built — e.g. in Program.cs:

using B5SecurityKit;

var builder = WebApplication.CreateBuilder(args);
B5License.Register(builder.Configuration["b5secure:license"]);

builder.Services.AddB5Secure();   // Never Trust pipeline (B1-B5)
var app = builder.Build();
app.UseB5Secure();
app.Run();

e External license file

Keep the key out of source — register it from a plain-text file at the content root:

// B5SECURE.LICENSE.txt set to "Copy if newer"
B5License.RegisterFromFile("B5SECURE.LICENSE.txt");

Registration follows the standard .NET library licensing pattern. Exact setting and method names ship in the License Management docs.

Get started in minutes

Add B5 to any .NET 10 project.

Install the package, register your trial key, and wrap your endpoints in the Never Trust pipeline.

dotnet add package B5SecurityKit

ASP.NET Core Web API

Controllers secured by HMAC & ADA from the first route.

dotnet add package B5SecurityKitGetting started →

ASP.NET Core MVC

Convention-driven authorization across controllers and actions.

dotnet add package B5SecurityKitGetting started →

ServiceStack · co-hosted

Request-DTO services upgraded in place inside the host.

dotnet add package B5SecurityKit.ServiceStackGetting started →

Source packages

Ship the trial as source for full step-through visibility.

dotnet add package B5SecurityKit.SourceGetting started →

Ready for production? See the editions.

Free for personal & open-source projects. Commercial licenses for teams shipping to production — every plan starts with the same 30-day trial.


Scroll to Top