FryWorld.Sdk 0.0.2

There is a newer version of this package available.
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
                    
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="FryWorld.Sdk" Version="0.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FryWorld.Sdk" Version="0.0.2" />
                    
Directory.Packages.props
<PackageReference Include="FryWorld.Sdk" />
                    
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 FryWorld.Sdk --version 0.0.2
                    
#r "nuget: FryWorld.Sdk, 0.0.2"
                    
#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 FryWorld.Sdk@0.0.2
                    
#: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=FryWorld.Sdk&version=0.0.2
                    
Install as a Cake Addin
#tool nuget:?package=FryWorld.Sdk&version=0.0.2
                    
Install as a Cake Tool

FryWorld.Sdk

NuGet License: MIT .NET 10

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:

  1. Waterfall: Around-middleware with next() execution (export filters, view transformations).
  2. Bail: Short-circuits on the first non-null/handled result (file format importers, converters).
  3. Parallel: Concurrent asynchronous broadcast via Task.WhenAll (telemetry, background sync).
  4. Serial: Sequentially awaited pipeline (validation rules, checks).

📄 License

MIT License. Copyright © 2026 Code Fry Dev.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last Updated
0.5.0 236 10/22/2026
0.4.0 136 10/19/2026
0.3.0 125 10/18/2026
0.2.0 303 10/15/2026
0.1.0 160 10/15/2026
0.0.2 116 10/14/2026
0.0.1 109 10/14/2026