Uno.Wasm.Bootstrap
Uno.Wasm.Bootstrap copied to clipboard
A simple nuget package to run C# code in a WASM-compatible browser
Uno.Wasm.Bootstrap
Uno.Wasm.Bootstrap provides a simple way to package C# .NET code, and run it from a compatible browser environment.
It is a standalone .NET Web Assembly (Wasm) sdk bootstrapper taking the form of a nuget package.
Installing it on a .NET project (5, 6 or .NET Standard 2.0) with an entry point allows to publish it as part of a Wasm distribution folder, along with CSS, Javascript and content files.
This package only provides the bootstrapping features to run a .NET assembly and write to the javascript console, through Console.WriteLine.
This package is based on the excellent work from @praeclarum's OOui Wasm MSBuild task.
Documentation
- Using the bootstrapper
- Debugger support
- Deploy and publish
- Linker configuration
- Runtime Exection Modes
- Troubleshooting
- Features
- Using additional files
- Javascript Dependency management
- Deep linking
- Splash screen
- Environment Variables
- Pre-compression
- Embedded mode
- Native Linker Optimization
- Memory troubleshooting
- Module Linking
- Profiling
- Node JS
- Nuget package overrides
- Prefechting
- PWA Support
- 4GB Support
- Contributing