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