FryWorld.Sdk
0.0.2
See the version list below for details.
dotnet add package FryWorld.Sdk --version 0.0.2
NuGet\Install-Package FryWorld.Sdk -Version 0.0.2
<PackageReference Include="FryWorld.Sdk" Version="0.0.2" />
<PackageVersion Include="FryWorld.Sdk" Version="0.0.2" />
<PackageReference Include="FryWorld.Sdk" />
paket add FryWorld.Sdk --version 0.0.2
#r "nuget: FryWorld.Sdk, 0.0.2"
#:package FryWorld.Sdk@0.0.2
#addin nuget:?package=FryWorld.Sdk&version=0.0.2
#tool nuget:?package=FryWorld.Sdk&version=0.0.2
FryWorld.Sdk
FryWorld.Sdk is the pure, high-performance plugin microkernel, dynamic capability registry, and runtime SDK for the FryWorld desktop platform.
Inspired by the Cordis composability architecture, FryWorld.Sdk enables developers to build decoupled, modular desktop applications, full-viewport workspace studios, floating mini-app overlays, and dynamic tools.
🚀 Installation
Add the SDK to your plugin or library project:
dotnet add package FryWorld.Sdk
Critical Requirement: Set PrivateAssets="all"
Because the host application (FryWorld) provides the FryWorld.Sdk runtime contract assembly at runtime, always mark FryWorld.Sdk with PrivateAssets="all" in your plugin .csproj:
<ItemGroup>
<PackageReference Include="FryWorld.Sdk" Version="1.0.0" PrivateAssets="all" />
</ItemGroup>
This prevents shipping duplicate contract assemblies inside your .fryplugin bundle and guarantees consistent type identity.
🧩 Building a Plugin
Subclass FryPluginBase or implement IFryPlugin:
using System.Threading;
using System.Threading.Tasks;
using FryWorld.Sdk.Descriptors;
using FryWorld.Sdk.Plugins;
public class MyCustomStudioPlugin : FryPluginBase
{
public override string Id => "com.example.mystudio";
public override string Name => "My Custom Studio";
public override Version Version => new(1, 0, 0);
public override Task ApplyAsync(IFryPluginContext ctx, CancellationToken ct = default)
{
// 1. Mount a Full-Viewport Workspace Studio Page (Navigation Rail)
ctx.RegisterNavigationItem(new NavigationItemDescriptor
{
Id = "studio.main",
Title = "My Studio",
IconKind = "Wrench",
ViewFactory = () => new MyStudioView()
});
// 2. Mount a Floating Shell Overlay Mini-App (Snake, Music Player, etc.)
ctx.RegisterOverlay(new OverlayDescriptor
{
Id = "overlay.hud",
Title = "Studio Telemetry",
DefaultWidth = 320,
DefaultHeight = 240,
ViewFactory = () => new TelemetryView()
});
// 3. Register a Command Palette Action (⌘K / Ctrl+K)
ctx.RegisterCommand(new CommandPaletteDescriptor
{
Id = "cmd.open.studio",
Title = "Open My Studio",
Category = "Studio Tools",
ShortcutKey = "Ctrl+Shift+M"
});
return Task.CompletedTask;
}
}
⚡ Cordis Dispatch Pipelines
FryWorld.Sdk provides 4 typed dispatch modes via ctx.Pipelines:
Waterfall: Around-middleware withnext()execution (export filters, view transformations).Bail: Short-circuits on the first non-null/handled result (file format importers, converters).Parallel: Concurrent asynchronous broadcast viaTask.WhenAll(telemetry, background sync).Serial: Sequentially awaited pipeline (validation rules, checks).
📄 License
MIT License. Copyright © 2026 Code Fry Dev.
| 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 (>= 12.1.2)
- CommunityToolkit.Mvvm (>= 8.4.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
NuGet packages (10)
Showing the top 5 NuGet packages that depend on FryWorld.Sdk:
| Package | Downloads |
|---|---|
|
FryPdf.Plugin.Snake
Playable Retro Arcade Snake game shell overlay plugin for FryPDF |
|
|
FryPdf.Plugin.TicTacToe
Playable Tic-Tac-Toe shell overlay plugin for FryPDF |
|
|
FryPdf.Plugin.Telemetry
Document Telemetry HUD shell overlay plugin for FryPDF |
|
|
FryPdf.Plugin.MusicPlayer
Floating playlist-based music player shell overlay plugin for FryWorld and FryPDF |
|
|
FryPdf.Plugin.Scratchpad
Floating Markdown Review Scratchpad shell overlay plugin for FryPDF |
GitHub repositories
This package is not used by any popular GitHub repositories.