Skip to content

elringus/bootsharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bootsharp


nuget codefactor codecov codeql


Use C# in web apps with comfort

Author domain in C#, while taking full advantage of the modern JavaScript frontend ecosystem.

✨ Generates JavaScript bindings and type declarations for your C# APIs facilitating seamless interop between the domain and UI.

📦 Choose between embedding all the C# binaries into single-file ES module for portability or sideload for best performance and build size.

🗺️ Node, Deno, Bun, web browsers and even constrained environments, such as VS Code extensions — your app will work everywhere.

⚡ Manually author interop APIs via static C# methods or simply feed Bootsharp your domain-specific interfaces — it'll figure the rest.

🏷️ When an interface value is specified in interop API, instance binding is generated allowing to interoperate on stateful objects.

🛠️ Configure namespaces for emitted bindings, function and event names, C# -> TypeScript type mappings and more.

🔥 Supports latest .NET features: WASM multi-threading, AOT compilation, assembly trimming, streaming module instantiation.

🎬 Get Started

https://bootsharp.com/guide