Dotnet Interop
This page exists because older docs and links referred to “dotnet interop”.
The current material lives here:
Short version
- import CLR APIs explicitly from generated binding packages
- use
tsbindgen-generated packages for CLR frameworks and libraries - keep first-party source packages separate from generated CLR bindings
Typical imports
import { Console } from "@tsonic/dotnet/System.js";
import { WebApplication } from "@tsonic/aspnetcore/Microsoft.AspNetCore.Builder.js";
Use CLR Bindings and Interop when you want the detailed package and workflow view.