Skip to content

An example on using .NET 6 Blazor without the ASP.NET web components overhead for JS interop

Notifications You must be signed in to change notification settings

elringus/wasm-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To compile C# into WebAssemly and interop with JavaScript it's required to use Blazor WebAssembly ASP.NET framework, which is designed for SPA and contains lot of overhead in case you just want to use a C# library from JS.

This example shows the minimum setup required for the use case.

The key files to check for:

About

An example on using .NET 6 Blazor without the ASP.NET web components overhead for JS interop

Resources

Stars

Watchers

Forks