Skip to content

How to use dotnet.js outside of browser? #61083

@elringus

Description

@elringus

I'm looking to use C# libraries compiled to Mono WASM runtime from JavaScript, but without the browser context, so that window, document and other browser-specific APIs are not available (example use case are web extensions for vscode).

I've already ported ASP.NET Core's blazor.webassembly.js , but it turns out dotnet.js is also using browser-specific APIs. Is there a way to use Mono WASM outside of browser?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions