Tsonic.Express
1.1.4
dotnet add package Tsonic.Express --version 1.1.4
NuGet\Install-Package Tsonic.Express -Version 1.1.4
<PackageReference Include="Tsonic.Express" Version="1.1.4" />
<PackageVersion Include="Tsonic.Express" Version="1.1.4" />
<PackageReference Include="Tsonic.Express" />
paket add Tsonic.Express --version 1.1.4
#r "nuget: Tsonic.Express, 1.1.4"
#:package Tsonic.Express@1.1.4
#addin nuget:?package=Tsonic.Express&version=1.1.4
#tool nuget:?package=Tsonic.Express&version=1.1.4
express-clr
express-clr is the runtime implementation for Express-style APIs on ASP.NET Core.
It is the source of truth for behavior and parity decisions. The express repo publishes the generated TypeScript package that targets this runtime.
Scope
- Express 5.x-oriented API surface.
- ASP.NET Core primitives for server/request/response internals.
- Pragmatic parity: maximize behavioral compatibility while documenting remaining deviations.
Quick Start
using express;
var app = express.create();
app.get("/", (Request _, Response res) =>
{
res.send("hello");
});
app.listen(3000);
Build
dotnet build src/express/express.csproj -c Release
NativeAOT Validation
express-clr is designed for NativeAOT-first usage on ASP.NET Core primitives.
Validation command:
dotnet publish src/express/express.csproj -c Release -r linux-x64 -p:PublishAot=true -warnaserror
Current runtime avoids DynamicInvoke and reflection-based System.Text.Json serialization/deserialization paths.
Test
dotnet test tests/express.Tests/express.Tests.csproj -c Release
Coverage Gate
npm run test:coverage
The coverage gate enforces line, branch, and method coverage at 100% for the express assembly.
Documentation Map
- Runtime architecture:
docs/architecture.md - Known compatibility deviations:
docs/deviations.md - API test/coverage matrix:
docs/test-matrix.md
Naming Notes
Some HTTP verbs require C#-safe identifiers:
lock_()maps toLOCKm_search()maps toM-SEARCH
For exact-string verbs, use method("...").
License
MIT
| 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
- Tsonic.JSRuntime (>= 0.0.9)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.4 | 117 | 3/13/2026 |
| 1.1.3 | 106 | 3/10/2026 |
| 1.1.2 | 102 | 3/9/2026 |
| 1.1.1 | 109 | 2/19/2026 |
| 1.1.0 | 109 | 2/17/2026 |
| 1.0.10 | 104 | 2/17/2026 |
| 1.0.9 | 106 | 2/16/2026 |
| 1.0.6 | 101 | 2/16/2026 |
| 1.0.5 | 104 | 2/16/2026 |
| 1.0.4 | 106 | 2/15/2026 |
| 1.0.3 | 105 | 2/14/2026 |
| 1.0.2 | 109 | 2/14/2026 |
| 1.0.1 | 109 | 2/14/2026 |
| 1.0.0 | 118 | 2/13/2026 |