BlazorWASMScriptLoader
Basic example of how to compile C# inside a Blazor WASM app
Install / Use
/learn @LostBeard/BlazorWASMScriptLoaderREADME
Superseded
This project is superseded by SpawnDev.BlazorJS.CodeRunner. It takes the methods in this repo, and some great work by others to solve some problems in newer versions of .Net Blazor and improve compatibility.
BlazorWASMScriptLoader
Basic example of how to compile and run .Net code at runtime in Blazor WebAssembly.
Update for .Net 8:
In .Net 8, Blazor WASM apps use .wasm files by default instead of .dll files.
This is the Webcil format and it "addresses environments that block clients from downloading and executing DLLs".
The problem is .wasm files do not contain the MetadataReference data like the .dll files do. A workaround is to switch back to using .dlls by using the <WasmEnableWebcil>false</WasmEnableWebcil> tag in the project .csproj file.
Related Skills
node-connect
350.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
