JasperFx.RuntimeCompiler 5.0.0

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
JasperFx.CodeGeneration.Commands
Command line utilities for managing Lamar dynamically generated code
78
WolverineFx
Build Robust Event Driven Architectures with Simpler Code
70
WolverineFx
Build Robust Event Driven Architectures with Simpler Code
71
WolverineFx
Build Robust Event Driven Architectures with Simpler Code
72
WolverineFx
Build Robust Event Driven Architectures with Simpler Code
73
WolverineFx
Build Robust Event Driven Architectures with Simpler Code
74
WolverineFx
Build Robust Event Driven Architectures with Simpler Code
75
WolverineFx
Next Generation .NET Mediator and Message Bus
70
WolverineFx
Next Generation .NET Mediator and Message Bus
71
WolverineFx
Next Generation .NET Mediator and Message Bus
74
WolverineFx
Next Generation .NET Mediator and Message Bus
78

Version Downloads Last updated
5.0.0 25 05/23/2026
5.0.0-rc.3 20 05/24/2026
5.0.0-rc.2 19 05/24/2026
5.0.0-rc.1 20 05/24/2026
5.0.0-alpha.8 20 05/24/2026
5.0.0-alpha.5 19 05/24/2026
5.0.0-alpha.4 20 05/24/2026
5.0.0-alpha.3 22 05/24/2026
5.0.0-alpha.2 19 05/19/2026
5.0.0-alpha.1 24 05/15/2026
4.5.0 31 04/29/2026
4.4.0 40 02/16/2026
4.3.2 51 01/30/2026
4.3.1 56 12/23/2025
4.3.0 51 12/13/2025
4.2.1 55 12/11/2025
4.2.0 55 12/11/2025
4.1.0 52 12/11/2025
4.0.0 58 12/11/2025
4.0.0-beta-3 56 12/11/2025
4.0.0-beta-2 54 12/11/2025
4.0.0-beta-1 53 12/11/2025
4.0.0-alpha-9 60 12/11/2025
4.0.0-alpha-8 53 12/11/2025
4.0.0-alpha-7 56 12/11/2025
4.0.0-alpha-6 57 12/11/2025
4.0.0-alpha-5 61 12/11/2025
4.0.0-alpha-4 49 12/11/2025
4.0.0-alpha-3 52 12/11/2025
4.0.0-alpha-2 57 12/11/2025
4.0.0-alpha-18 53 12/11/2025
4.0.0-alpha-17 54 12/11/2025
4.0.0-alpha-16 57 12/11/2025
4.0.0-alpha-15 53 12/11/2025
4.0.0-alpha-14 48 12/11/2025
4.0.0-alpha-13 57 12/11/2025
4.0.0-alpha-12 52 12/11/2025
4.0.0-alpha-11 55 12/11/2025
4.0.0-alpha-10 58 12/11/2025
4.0.0-alpha-1 48 12/11/2025
3.7.2 62 12/11/2025
3.7.1 42 12/11/2025
3.7.0 49 12/11/2025
3.6.0 54 12/11/2025
3.5.4 49 12/11/2025
3.5.3 50 12/11/2025
3.5.2 52 12/11/2025
3.5.1 52 12/11/2025
3.5.0 53 12/11/2025
3.4.1 52 12/11/2025
3.4.0 56 12/11/2025
3.2.0 55 12/11/2025
3.1.1 49 12/11/2025
3.1.0 55 12/11/2025
3.0.2 56 12/11/2025
3.0.1 49 12/11/2025
3.0.0 54 12/11/2025
2.3.1 52 12/11/2025
2.3.0 55 12/11/2025
2.2.1 61 12/11/2025
2.2.0 49 12/11/2025
2.1.2 56 12/11/2025
2.1.1 53 12/11/2025
2.1.0 55 12/11/2025
2.0.0 54 12/11/2025
2.0.0-alpha.2 20 05/15/2026
2.0.0-alpha.1 23 05/12/2026
1.1.1 56 12/11/2025
1.1.0 57 12/11/2025
1.0.1 57 12/11/2025
1.0.0 53 12/11/2025
0.9.5 55 12/11/2025
0.9.4 50 12/11/2025
0.9.3 54 12/11/2025
0.9.2 54 12/11/2025
0.9.1 56 12/11/2025
0.9.0 58 12/11/2025