JasperFx.RuntimeCompiler 5.0.0-rc.1

JasperFx.RuntimeCompiler

Roslyn-based runtime code-generation backend for the Critter Stack. Compiles in-memory C# at runtime and loads the resulting assembly into the host process — used by Marten, Wolverine, and Polecat for dynamic code paths (LINQ compilation, message handlers, document storage).

Installing this package is opt-in. Apps that pre-generate all code (dotnet run -- codegen write) and run in TypeLoadMode.Static can omit JasperFx.RuntimeCompiler entirely and ship without Roslyn in the production bundle — the foundation for PublishAot=true deployments.

Usage

Register the runtime compiler service in DI to opt in:

services.AddSingleton<IAssemblyGenerator, AssemblyGenerator>();

When GenerationRules.TypeLoadMode is Dynamic or Auto, codegen will route through AssemblyGenerator to compile in-memory.

Documentation

Full docs at https://jasperfx.net.

Repo: github.com/JasperFx/jasperfx.

Showing the top 20 packages that depend on JasperFx.RuntimeCompiler.

Packages Downloads
WolverineFx
Build Robust Event Driven Architectures with Simpler Code
46
WolverineFx
Build Robust Event Driven Architectures with Simpler Code
47
WolverineFx
Build Robust Event Driven Architectures with Simpler Code
48
WolverineFx
Build Robust Event Driven Architectures with Simpler Code
50
WolverineFx
Build Robust Event Driven Architectures with Simpler Code
51
WolverineFx
Next Generation .NET Mediator and Message Bus
46
WolverineFx
Next Generation .NET Mediator and Message Bus
47
WolverineFx
Next Generation .NET Mediator and Message Bus
48
WolverineFx
Next Generation .NET Mediator and Message Bus
49
WolverineFx
Next Generation .NET Mediator and Message Bus
50
WolverineFx
Next Generation .NET Mediator and Message Bus
51

Version Downloads Last updated
5.0.0 3 05/23/2026
5.0.0-rc.3 3 05/24/2026
5.0.0-rc.2 4 05/24/2026
5.0.0-rc.1 4 05/24/2026
5.0.0-alpha.8 5 05/24/2026
5.0.0-alpha.5 3 05/24/2026
5.0.0-alpha.4 3 05/24/2026
5.0.0-alpha.3 5 05/24/2026
5.0.0-alpha.2 3 05/19/2026
5.0.0-alpha.1 7 05/15/2026
4.5.0 12 04/29/2026
4.4.0 24 02/16/2026
4.3.2 30 01/30/2026
4.3.1 34 12/23/2025
4.3.0 38 12/13/2025
4.2.1 35 12/11/2025
4.2.0 30 12/11/2025
4.1.0 32 12/11/2025
4.0.0 36 12/11/2025
4.0.0-beta-3 35 12/11/2025
4.0.0-beta-2 33 12/11/2025
4.0.0-beta-1 33 12/11/2025
4.0.0-alpha-9 41 12/11/2025
4.0.0-alpha-8 34 12/11/2025
4.0.0-alpha-7 34 12/11/2025
4.0.0-alpha-6 36 12/11/2025
4.0.0-alpha-5 36 12/11/2025
4.0.0-alpha-4 38 12/11/2025
4.0.0-alpha-3 33 12/11/2025
4.0.0-alpha-2 37 12/11/2025
4.0.0-alpha-18 33 12/11/2025
4.0.0-alpha-17 33 12/11/2025
4.0.0-alpha-16 33 12/11/2025
4.0.0-alpha-15 33 12/11/2025
4.0.0-alpha-14 33 12/11/2025
4.0.0-alpha-13 36 12/11/2025
4.0.0-alpha-12 34 12/11/2025
4.0.0-alpha-11 34 12/11/2025
4.0.0-alpha-10 37 12/11/2025
4.0.0-alpha-1 29 12/11/2025
3.7.2 41 12/11/2025
3.7.1 31 12/11/2025
3.7.0 29 12/11/2025
3.6.0 34 12/11/2025
3.5.4 29 12/11/2025
3.5.3 32 12/11/2025
3.5.2 31 12/11/2025
3.5.1 32 12/11/2025
3.5.0 31 12/11/2025
3.4.1 32 12/11/2025
3.4.0 35 12/11/2025
3.2.0 36 12/11/2025
3.1.1 29 12/11/2025
3.1.0 37 12/11/2025
3.0.2 34 12/11/2025
3.0.1 35 12/11/2025
3.0.0 31 12/11/2025
2.3.1 32 12/11/2025
2.3.0 34 12/11/2025
2.2.1 37 12/11/2025
2.2.0 32 12/11/2025
2.1.2 35 12/11/2025
2.1.1 31 12/11/2025
2.1.0 32 12/11/2025
2.0.0 34 12/11/2025
2.0.0-alpha.2 6 05/15/2026
2.0.0-alpha.1 6 05/12/2026
1.1.1 35 12/11/2025
1.1.0 35 12/11/2025
1.0.1 39 12/11/2025
1.0.0 34 12/11/2025
0.9.5 36 12/11/2025
0.9.4 29 12/11/2025
0.9.3 33 12/11/2025
0.9.2 35 12/11/2025
0.9.1 34 12/11/2025
0.9.0 37 12/11/2025