FryPdf.Plugin.CSharpEditor
2.0.8
dotnet add package FryPdf.Plugin.CSharpEditor --version 2.0.8
NuGet\Install-Package FryPdf.Plugin.CSharpEditor -Version 2.0.8
<PackageReference Include="FryPdf.Plugin.CSharpEditor" Version="2.0.8" />
<PackageVersion Include="FryPdf.Plugin.CSharpEditor" Version="2.0.8" />
<PackageReference Include="FryPdf.Plugin.CSharpEditor" />
paket add FryPdf.Plugin.CSharpEditor --version 2.0.8
#r "nuget: FryPdf.Plugin.CSharpEditor, 2.0.8"
#:package FryPdf.Plugin.CSharpEditor@2.0.8
#addin nuget:?package=FryPdf.Plugin.CSharpEditor&version=2.0.8
#tool nuget:?package=FryPdf.Plugin.CSharpEditor&version=2.0.8
CSharpPlayground (FrySharp)
CSharpPlayground (standalone executable: FrySharp) is an interactive multi-language code studio, polyglot Jupyter-style notebook environment for .NET 10, Python, Rust, and extensible language toolchains built with Avalonia UI.
It operates both as:
- A Standalone Desktop Application (
FrySharp): Native desktop app for macOS (.dmg) and Windows (.msix/.exeinstaller) with VS Code-inspired layout. - A FryPDF Ecosystem Plugin (
com.frypdf.plugin.csharpeditor): Edge-to-edge full-viewport workspace and code automation plugin for FryPDF.
ðŽ Product Demo
Click here to watch the FrySharp Demo on YouTube â Supports C#, Python, Rust, Go, Java, C++, JavaScript, F# & SQL
ðĶ Installation
macOS (via Homebrew)
# Add the tap and install FrySharp
brew install --cask prashantunity/tap/frysharp
To update when a new version is released:
brew upgrade --cask frysharp
Windows (via Microsoft Store)
Get FrySharp from the official Microsoft Store:
ð Quick Start (Build from Source)
Prerequisites
- .NET 10 SDK
- Optional: Python 3.9+ for
.pyfiles and Python notebook cells
Run Standalone Desktop App (FrySharp)
# Clone the repository
git clone https://github.com/PrashantUnity/CSharpPlayground.git
cd CSharpPlayground
# Run standalone desktop app
dotnet run --project Runner/CSharpEditorPlugin.Runner.csproj
Run Automated Unit Tests
# Run the unit tests (the real-Python ones run when Python 3.9+ is installed)
dotnet test CSharpEditorPlugin.slnx
ð Architecture: Stateful Notebook Execution
flowchart TD
subgraph Notebook UI
C1["Cell 1: var m = 10;"]
C2["Cell 2: Console.WriteLine(m * 2);"]
C3["Cell 3: Display.Image(surface.Snapshot());"]
end
subgraph "NotebookExecutionKernel (Persistent Session)"
Init["ScriptOptions\n(System Refs + NuGet Refs + Usings)"]
S0["Submission #0: ScriptState\n(Creates 'm' field, Output = 10)"]
S1["Submission #1: ScriptState.ContinueWithAsync\n(References S0, Reads 'm', Output = 20)"]
S2["Submission #2: ScriptState.ContinueWithAsync\n(References S1, Rich Media Display)"]
VarExp["Variable Inspector State\n[m : int = 10]"]
end
subgraph Rich Cell Output
Out1["Text Output / Badge"]
Out2["Console Output: 20"]
Out3["Avalonia Image Control\n(Zoom, Copy, Save PNG)"]
end
C1 -->|"Execute Cell"| S0
S0 -->|"State Chaining"| S1
C2 -->|"Execute Cell"| S1
S1 -->|"State Chaining"| S2
C3 -->|"Execute Cell"| S2
S0 --> VarExp
S1 --> VarExp
S2 --> VarExp
S0 --> Out1
S1 --> Out2
S2 --> Out3
ðĪ Model Context Protocol (MCP) Integration
FrySharp provides 9 native tools to autonomous AI agents over the Model Context Protocol (MCP) for direct code execution, compiler error diagnosis, editor injection, and live debugging.
See the complete documentation:
ð Sponsor & Support
The Scientific Sponsorship Loop:
- You Fund ðļ â 2. I Buy Food ð â 3. Eat & Stay Healthy ð â 4. Code & Ship Features ð (Alternative timeline: No food â Dev dies ð â Zero commits ðŠĶ)
If you find FrySharp (CSharpPlayground) helpful, consider keeping the developer fueled and alive:
ð Sponsor @PrashantUnity on GitHub
ð License
MIT License. See LICENSE for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net10.0
- Avalonia.AvaloniaEdit (>= 12.0.0)
- Avalonia.Controls.WebView (>= 12.1.0)
- AvaloniaEdit.TextMate (>= 12.0.0)
- FrySharp.Core (>= 2.0.8)
- FryWorld.Sdk (>= 0.5.0)
- Markdig (>= 1.4.0)
- Microsoft.CodeAnalysis.CSharp (>= 4.12.0)
- Microsoft.CodeAnalysis.CSharp.Scripting (>= 4.12.0)
- TextMateSharp.Grammars (>= 2.0.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.8 | 87 | 10/22/2026 |
| 2.0.7 | 94 | 10/16/2026 |
| 2.0.5 | 94 | 10/14/2026 |
| 2.0.4 | 98 | 10/9/2026 |
| 2.0.3 | 99 | 10/4/2026 |
| 2.0.2 | 105 | 10/1/2026 |
| 2.0.1 | 102 | 10/1/2026 |
| 2.0.0 | 99 | 9/28/2026 |
| 1.0.6 | 105 | 9/25/2026 |
| 1.0.5 | 107 | 9/25/2026 |
| 1.0.4 | 107 | 9/24/2026 |
| 1.0.3 | 107 | 9/24/2026 |
| 0.1.2 | 110 | 9/21/2026 |
| 0.1.1 | 111 | 9/17/2026 |
| 0.1.0 | 108 | 9/14/2026 |
| 0.0.9 | 109 | 9/13/2026 |