JasperFx.RuntimeCompiler 5.0.0-alpha.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
44
WolverineFx
Build Robust Event Driven Architectures with Simpler Code
45
WolverineFx
Build Robust Event Driven Architectures with Simpler Code
46
WolverineFx
Build Robust Event Driven Architectures with Simpler Code
48
WolverineFx
Build Robust Event Driven Architectures with Simpler Code
49
WolverineFx
Next Generation .NET Mediator and Message Bus
44
WolverineFx
Next Generation .NET Mediator and Message Bus
45
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
49

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