A browser-based C# code editor for educational use built with Blazor WebAssembly and the Microsoft Roslyn compiler. This project provides a minimal C# development environment that runs entirely in the browser, and is designed for teaching and learning simple C# programming syntax. Specifically, it was built to support the Get started with C# Programming learning path on Microsoft Learn.
NOTE: This app is provided purely to support the teaching of simple C# syntax. It is not an officially supported Microsoft product or service, and is provided as-is without warranty of any kind.
Try it online: https://microsoftlearning.github.io/c-sharp-minor/
- Real C# Compilation: Uses Microsoft Roslyn compiler for authentic C# compilation
- WebAssembly Execution: Runs compiled C# code directly in the browser using .NET WebAssembly
- Educational Design: Clean, intuitive interface designed specifically for learning
- Progressive Complexity: Toggle between simplified and full code views
- Sample Code: Built-in examples to help students get started
- Clean Output: Optional system message filtering for distraction-free learning
- No External Dependencies: Self-contained solution that doesn't rely on external services
- Frontend: Blazor WebAssembly (.NET 9)
- Compiler: Microsoft.CodeAnalysis.CSharp (Roslyn) 4.14.0
- Editor: Monaco Editor with C# language support
- References: Basic.Reference.Assemblies.Net90 for WebAssembly compatibility
Built with ❤️ using Blazor WebAssembly and Microsoft Roslyn