CodeBrix.Templating.BsdLicenseForever
1.0.254.1171
See the version list below for details.
dotnet add package CodeBrix.Templating.BsdLicenseForever --version 1.0.254.1171
NuGet\Install-Package CodeBrix.Templating.BsdLicenseForever -Version 1.0.254.1171
<PackageReference Include="CodeBrix.Templating.BsdLicenseForever" Version="1.0.254.1171" />
<PackageVersion Include="CodeBrix.Templating.BsdLicenseForever" Version="1.0.254.1171" />
<PackageReference Include="CodeBrix.Templating.BsdLicenseForever" />
paket add CodeBrix.Templating.BsdLicenseForever --version 1.0.254.1171
#r "nuget: CodeBrix.Templating.BsdLicenseForever, 1.0.254.1171"
#:package CodeBrix.Templating.BsdLicenseForever@1.0.254.1171
#addin nuget:?package=CodeBrix.Templating.BsdLicenseForever&version=1.0.254.1171
#tool nuget:?package=CodeBrix.Templating.BsdLicenseForever&version=1.0.254.1171
CodeBrix.Templating
A fully managed, cross-platform text-templating and scripting language
library for .NET. CodeBrix.Templating parses and renders templates in the
Scriban and Liquid template languages, suitable for code generation, HTML
pages, reports, configuration files, and any other text produced from a
model. It is provided as a .NET 10 library and the
CodeBrix.Templating.BsdLicenseForever NuGet package.
CodeBrix.Templating supports applications and assemblies that target Microsoft .NET version 10.0 and later. Microsoft .NET version 10.0 is a Long-Term Supported (LTS) version of .NET, and was released on Nov 11, 2025; and will be actively supported by Microsoft until Nov 14, 2028. Please update your C#/.NET code and projects to the latest LTS version of Microsoft .NET.
Installation
dotnet add package CodeBrix.Templating.BsdLicenseForever
Note that the NuGet package ID and the namespace are different - there is no package named plain CodeBrix.Templating:
- NuGet package ID:
CodeBrix.Templating.BsdLicenseForever - Assembly and primary namespace:
CodeBrix.Templating- i.e.using CodeBrix.Templating;
XML documentation (IntelliSense) ships alongside the assembly. The package has no NuGet dependencies of its own.
CodeBrix.Templating supports:
- Scriban template language (default) with a rich built-in function library
- Liquid template language (compatible subset)
- Synchronous and asynchronous rendering
- Safe evaluation with configurable member access, recursion, and execution limits
- Pluggable template loaders for
include - JSON bridge via
System.Text.Json(object.from_json,object.to_json) - Queryable model objects via reflection, dictionaries, and
IScriptObject - Template parsing, rewriting, formatting, and AST visitation
- AOT-friendly operation (no runtime code generation required for the core engine)
Sample Code
Render a Scriban template
using CodeBrix.Templating;
var template = Template.Parse("Hello {{ name }}!");
var result = template.Render(new { name = "World" });
// result == "Hello World!"
Render asynchronously
using CodeBrix.Templating;
var template = Template.Parse("Items: {{ for item in items }}{{ item }} {{ end }}");
var result = await template.RenderAsync(new { items = new[] { "a", "b", "c" } });
// result == "Items: a b c "
Use the Liquid template language
using CodeBrix.Templating;
var template = Template.ParseLiquid("Hello {{ name }}!");
var result = template.Render(new { name = "World" });
Share state across renders via TemplateContext
using CodeBrix.Templating;
using CodeBrix.Templating.Runtime;
var globals = new ScriptObject();
globals.Import(new { project = "CodeBrix.Templating" });
var context = new TemplateContext();
context.PushGlobal(globals);
var template = Template.Parse("Welcome to {{ project }}.");
var result = template.Render(context);
Documentation
The NuGet package includes AGENT-README.txt, a complete API reference and usage guide written for AI coding agents - point your agent at that file when it is writing code against this library. It also documents the template-language syntax the engine accepts.
Additional sample code and usage examples are available in the CodeBrix.Templating.Tests project:
https://github.com/ellisnet/CodeBrix.Templating/tree/main/tests/CodeBrix.Templating.Tests
License
CodeBrix.Templating is licensed under the BSD 2-Clause License - see the LICENSE file.
For licensing and provenance information about the open source code included in this package, see THIRD-PARTY-NOTICES.txt.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on CodeBrix.Templating.BsdLicenseForever:
| Package | Downloads |
|---|---|
|
CodeBrix.RustTools.CrateBuilder.MitLicenseForever
A .NET library that turns a Rust crate into native binaries and a .NET 10 wrapper class library. It clones the crate from a Git repository with CodeBrix.LibGit2 (or takes a local Cargo.toml), checks first that the machine can build and returns install guidance when it cannot, builds the crate for the chosen runtime identifiers with the installed Rust toolchain or inside a Docker container, optionally links it to the CodeBrix WebGPU engine, generates a C facade for plain Rust libraries from their public API, and writes a .NET 10 wrapper class library (optionally packable as a NuGet package) around the result, together with a JSON build record. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.284.213 | 116 | 10/11/2026 |
| 1.0.279.24 | 98 | 10/6/2026 |
| 1.0.254.1171 | 117 | 9/11/2026 |
| 1.0.242.1118 | 119 | 8/30/2026 |
| 1.0.165.1337 | 149 | 6/14/2026 |
| 1.0.117 | 142 | 4/29/2026 |