Fork me on GitHub

LamarCodeGeneration & LamarCompiler


Underneath Lamar the IoC container is a standalone library named LamarCodeGeneration that can be used by itself as a code generation and Lambda compilation tool. As of Lamar v3.0, there's also a separate library called LamarCompiler that is a tiny helper to do in memory compilation of C# via Roslyn. The Jasper application framework heavily uses this capability as its "Special Sauce" (Lamar was originally built under the project name "BlueMilk"). See also Roslyn Powered Code Weaving Middleware for more information about how Jasper uses Lamar for its efficient middleware strategy.