Skip to content
B

Bootsharp

Use C# in web apps with comfort

by elringusFree

#2139in Utilities
0In stores

Description

Bootsharp is a tool for using C# in web apps: it compiles a C# solution into an ES module with generated JavaScript bindings and TypeScript…

Highlights

  • Generates JS bindings and TypeScript declarations for C# APIs
  • dotnet publish outputs a ready ES package
  • Runs in Node, Deno, Bun, browsers and VS Code extensions
  • Automatic type marshalling by copy or reference
  • Configurable names and type mappings
  • NativeAOT-LLVM and Binaryen for small WASM output

Ratings & Reviews

No ratings yet

Be the first to rate Bootsharp.

People also visit

C

Core

WebSharper - Full-stack, functional

Utilities
Launch
C

csharp-developer

Building C# applications with .NET 8+, ASP.NET Core APIs, or Blazor web apps

AI Skills
Get
A

ASP.NET

Microsoft-created open-source web framework for creating modern online apps

Utilities
Launch
C

csharp-scripts

Run file-based C# apps with the .NET CLI

AI Skills
Get
D

DotNetify

Simple, lightweight, yet powerful way to build real-time web apps

Utilities
Launch
E

Electron.NET

Build cross platform desktop apps with ASP.NET Core (Razor Pages, MVC, Blazor)

Utilities
Launch

Bootsharp FAQ

What is Bootsharp?

A tool that compiles a C# solution into an ES module with auto-generated JavaScript bindings and TypeScript definitions, so C# code can be used from web apps.

How do I build a package?

Run dotnet publish; the output is a full ES package with package.json that you can import into a web project.

Where does the output run?

Node, Deno, Bun, web browsers and constrained environments such as VS Code extensions.

How are types passed between C# and JavaScript?

Immutable types are copied with a fast binary serializer; other types are passed by reference, automatically.

Is it open source?

Yes, the source is on GitHub at elringus/bootsharp.

What are the best Bootsharp alternatives?

Popular alternatives to Bootsharp include Core, ASP.NET and DotNetify. See all Bootsharp alternatives

Developer Stuff

Badges