GuiDispatcher.Sharp.ProGPU 1.1.2-preview48

This is a prerelease version of GuiDispatcher.Sharp.ProGPU.
dotnet add package GuiDispatcher.Sharp.ProGPU --version 1.1.2-preview48
                    
NuGet\Install-Package GuiDispatcher.Sharp.ProGPU -Version 1.1.2-preview48
                    
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="GuiDispatcher.Sharp.ProGPU" Version="1.1.2-preview48" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GuiDispatcher.Sharp.ProGPU" Version="1.1.2-preview48" />
                    
Directory.Packages.props
<PackageReference Include="GuiDispatcher.Sharp.ProGPU" />
                    
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 GuiDispatcher.Sharp.ProGPU --version 1.1.2-preview48
                    
#r "nuget: GuiDispatcher.Sharp.ProGPU, 1.1.2-preview48"
                    
#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 GuiDispatcher.Sharp.ProGPU@1.1.2-preview48
                    
#: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=GuiDispatcher.Sharp.ProGPU&version=1.1.2-preview48&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=GuiDispatcher.Sharp.ProGPU&version=1.1.2-preview48&prerelease
                    
Install as a Cake Tool

GuiDispatcher.Sharp.ProGPU

Native ProGPU WebGPU UI-thread implementation of GuiDispatcher.Sharp for .NET 10.

ProGPU exposes a WinUI-shaped application and controls layer, but rendering is performed by ProGPU's GPU-first WebGPU compositor. This adapter targets that native ProGPU runtime through Microsoft.UI.Xaml.UIThread; it does not use the Microsoft Windows App SDK dispatcher.

Install

<PackageReference Include="GuiDispatcher.Sharp.ProGPU" Version="1.1.2-preview48" />

This package pulls in GuiDispatcher.Sharp 1.1.2 or later, below 2.0, and ProGPU.WinUI 0.1.0-preview.48 or later, below 0.2.0. The stable 1.1.2 part follows the common dispatcher-family version. The preview48 suffix follows ProGPU.WinUI preview 48. Future ProGPU previews can therefore produce 1.1.2-preview49, 1.1.2-preview50, and so on without changing the dispatcher contract version.

Usage

Create the adapter on the ProGPU application thread and register that instance:

using GuiDispatcher.Sharp.Contracts;
using GuiDispatcher.Sharp.ProGPU;

services.AddSingleton<IGuiDispatcher>(_ => new ProGpuGuiDispatcher());

ProGPU's queue is process-wide and does not expose a dispatcher object. ProGpuGuiDispatcher therefore captures the constructing thread as the UI thread. Do not construct it on a worker thread.

await dispatcher.InvokeAsync(async () =>
{
    var result = await service.LoadAsync();
    viewModel.Apply(result);
});

using var timer = dispatcher.CreateTimer(TimeSpan.FromSeconds(1));
timer.Tick += (_, _) => viewModel.Refresh();
timer.Start();

InvokeAsync(Func<Task>) installs a ProGPU-backed synchronization context for the callback. Its continuations return through UIThread.Post without blocking the WebGPU application loop.

Requirements

  • .NET 10
  • ProGPU.WinUI 0.1.0-preview.47 or later, below 0.2.0
  • A running ProGPU host that calls UIThread.RunPending

NuGet publishing

Publishing uses NuGet Trusted Publishing from GitHub Actions, without a stored API key. Configure this policy on nuget.org before pushing the first release tag:

Field Value
Repository owner buchmiet
Repository GuiDispatcher.Sharp.ProGPU
Workflow file publish-nuget.yml
Environment production

Releasing

Releases are cut by pushing a vX.Y.Z tag. Before tagging:

  1. Bump <Version> in GuiDispatcher.Sharp.ProGPU.csproj.
  2. Move the relevant [Unreleased] entries in CHANGELOG.md into a dated release section.
  3. Commit both changes.
  4. Tag and push: git tag vX.Y.Z && git push origin vX.Y.Z.

For a coordinated release of the complete package family, follow the family release guide.

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

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
1.1.2-preview48 77 8/15/2026
1.1.1-preview47 67 8/11/2026
1.1.1-preview26 67 7/24/2026