Moka.Blazor.Repl.Compiler 1.3.5

dotnet add package Moka.Blazor.Repl.Compiler --version 1.3.5
                    
NuGet\Install-Package Moka.Blazor.Repl.Compiler -Version 1.3.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Moka.Blazor.Repl.Compiler" Version="1.3.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Moka.Blazor.Repl.Compiler" Version="1.3.5" />
                    
Directory.Packages.props
<PackageReference Include="Moka.Blazor.Repl.Compiler" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Moka.Blazor.Repl.Compiler --version 1.3.5
                    
#r "nuget: Moka.Blazor.Repl.Compiler, 1.3.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Moka.Blazor.Repl.Compiler@1.3.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Moka.Blazor.Repl.Compiler&version=1.3.5
                    
Install as a Cake Addin
#tool nuget:?package=Moka.Blazor.Repl.Compiler&version=1.3.5
                    
Install as a Cake Tool

Moka.Blazor.Repl

A Blazor Razor Class Library that provides an in-browser C# REPL (Read-Eval-Print Loop) with Roslyn compilation, Monaco editor integration, NuGet package support, and live preview.

Features

  • Monaco editor - full C# editing experience with IntelliSense
  • Roslyn compilation - compile and run C#/Razor code in the browser
  • NuGet support - add NuGet packages at runtime
  • Live preview - instant Blazor component preview via WebAssembly
  • File explorer - multi-file project support
  • Template picker - start from pre-built project templates
  • Diagnostics panel - real-time compiler errors and warnings
  • Keyboard shortcuts - productivity shortcuts overlay
  • Plugin system - extensible via IReplPlugin
  • Multi-target - .NET 9 and .NET 10

Quick Start

Register services in Program.cs:

builder.Services.AddMokaBlazorRepl();

Add the workspace component:

@using Moka.Blazor.Repl.Components

<ReplWorkspace />
Package Description
Moka.Blazor.Repl Core workspace UI and orchestration
Moka.Blazor.Repl.Abstractions Interfaces and models
Moka.Blazor.Repl.Monaco Monaco editor integration
Moka.Blazor.Repl.Compilation Roslyn compilation engine
Moka.Blazor.Repl.Embed Lightweight embeddable viewer

License

MIT

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Moka.Blazor.Repl.Compiler:

Package Downloads
Moka.Docs.Serve

Local dev server with hot-reload for MokaDocs.

Moka.Docs.Plugins

Plugin host, built-in plugins, and plugin abstractions for MokaDocs.

Moka.Blazor.Repl

Core Razor Class Library for Moka.Blazor.Repl — workspace, file explorer, toolbar, panels, services

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.5 50 4/8/2026
1.3.4 50 4/8/2026
1.3.3 47 4/8/2026
1.3.2 43 4/8/2026
1.3.0 47 4/8/2026
1.2.4 60 4/6/2026
1.2.1 66 4/6/2026
1.0.0 276 3/31/2026