Skip to main content
net10.0net11.0

Foundational helpers and command line support used by JasperFx and the Critter Stack projects

Published
Nov 17, 2026
6d ago
Total Downloads
36.4M
36,375,508

Install

dotnet add package JasperFx --version 3.6.0
ProductVersions
.NET
net10.0net11.0

README

JasperFx

Foundational helpers and command line support used by JasperFx and the Critter Stack projects (Marten, Wolverine, Polecat, Weasel).

Provides:

  • JasperFx.CommandLine — a Spectre-Console-backed CLI framework (formerly the Oakton library), the host for dotnet run -- <command> style tooling.
  • JasperFx.CodeGeneration — Roslyn-backed runtime code generation, with pluggable ITypeLoader strategies (Static / Dynamic / Auto) for AOT-friendly deployments.
  • JasperFx.Core — reflection / type-scanning helpers, IoC primitives, the GenericFactoryCache hot-path delegate cache, and RecentlyUsedCache LRU.
  • JasperFx.MultiTenancy — shared tenant-id abstractions (IHasTenantId, TenantId, TenantIdStyle) consumed across the Critter Stack.
  • JasperFx.Descriptors — diagnostic descriptor types that products like CritterWatch use to render configuration / capability snapshots.

Quick start

// CLI host
return await new HostBuilder()
    .ConfigureServices(services => services.AddJasperFxCommands())
    .RunJasperFxCommandsAsync(args);
// Codegen
var rules = new GenerationRules
{
    TypeLoadMode = TypeLoadMode.Static,
    GeneratedNamespace = "MyApp.Generated"
};

Documentation

Full docs at https://jasperfx.net.

Repo: github.com/JasperFx/jasperfx.

Changes from Previous Version

No structural changes between v3.5.0 and v3.6.0.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.The published metadata declares 19 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.