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
Marten
.NET Transactional Document DB and Event Store on PostgreSQL
12
Marten
.NET Transactional Document DB and Event Store on PostgreSQL
11

Version Downloads Last updated
5.0.0 2 5/28/2026
5.0.0-rc.3 2 5/28/2026
5.0.0-rc.2 2 5/28/2026
5.0.0-rc.1 2 5/28/2026
5.0.0-alpha.8 2 5/20/2026
5.0.0-alpha.5 2 5/20/2026
5.0.0-alpha.4 2 5/20/2026
5.0.0-alpha.3 2 5/20/2026
5.0.0-alpha.2 2 5/20/2026
5.0.0-alpha.1 2 5/20/2026
4.5.0 3 5/4/2026
4.4.0 5 2/19/2026
4.3.2 5 2/8/2026
4.3.1 6 1/28/2026
4.3.0 6 12/16/2025
4.2.1 7 12/11/2025
4.2.0 7 12/13/2025
4.1.0 8 11/9/2025
4.0.0 11 6/18/2025
4.0.0-beta-3 11 6/18/2025
4.0.0-beta-2 10 6/18/2025
4.0.0-beta-1 11 6/18/2025
4.0.0-alpha-9 11 6/18/2025
4.0.0-alpha-8 11 6/18/2025
4.0.0-alpha-7 11 6/18/2025
4.0.0-alpha-6 11 6/18/2025
4.0.0-alpha-5 11 6/18/2025
4.0.0-alpha-4 11 6/18/2025
4.0.0-alpha-3 11 6/18/2025
4.0.0-alpha-2 11 6/18/2025
4.0.0-alpha-18 11 6/18/2025
4.0.0-alpha-17 11 6/18/2025
4.0.0-alpha-16 11 6/18/2025
4.0.0-alpha-15 11 6/18/2025
4.0.0-alpha-14 12 6/18/2025
4.0.0-alpha-13 11 6/18/2025
4.0.0-alpha-12 11 6/18/2025
4.0.0-alpha-11 11 6/18/2025
4.0.0-alpha-10 11 6/18/2025
4.0.0-alpha-1 11 6/18/2025
3.7.2 11 6/18/2025
3.7.1 10 6/18/2025
3.7.0 11 6/18/2025
3.6.0 11 6/18/2025
3.5.4 11 6/18/2025
3.5.3 11 6/18/2025
3.5.2 11 6/18/2025
3.5.1 11 6/18/2025
3.5.0 12 6/15/2025
3.4.1 11 6/18/2025
3.4.0 11 6/18/2025
3.2.0 11 6/18/2025
3.1.1 11 6/18/2025
3.1.0 11 6/18/2025
3.0.2 11 6/18/2025
3.0.1 11 6/18/2025
3.0.0 11 6/18/2025
2.3.1 11 6/18/2025
2.3.0 11 6/18/2025
2.2.1 11 6/18/2025
2.2.0 11 6/18/2025
2.1.2 11 6/18/2025
2.1.1 11 6/18/2025
2.1.0 10 6/18/2025
2.0.0 11 6/18/2025
2.0.0-alpha.2 2 5/20/2026
2.0.0-alpha.1 2 5/11/2026
1.1.1 11 6/18/2025
1.1.0 12 6/18/2025
1.0.1 10 6/18/2025
1.0.0 11 6/18/2025
0.9.5 11 6/18/2025
0.9.4 11 6/18/2025
0.9.3 11 6/18/2025
0.9.2 11 6/18/2025
0.9.1 11 6/18/2025
0.9.0 11 6/18/2025