Skip to main content

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

Total Downloads
36.4M
36,375,508
Published
Nov 23, 2026
today

Get Started

dotnet add package JasperFx --version 3.14.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.

Downloads by Version

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

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.