Runic.Assets.Desktop
0.7.0-preview.2
See the version list below for details.
dotnet add package Runic.Assets.Desktop --version 0.7.0-preview.2
NuGet\Install-Package Runic.Assets.Desktop -Version 0.7.0-preview.2
<PackageReference Include="Runic.Assets.Desktop" Version="0.7.0-preview.2" />
<PackageVersion Include="Runic.Assets.Desktop" Version="0.7.0-preview.2" />
<PackageReference Include="Runic.Assets.Desktop" />
paket add Runic.Assets.Desktop --version 0.7.0-preview.2
#r "nuget: Runic.Assets.Desktop, 0.7.0-preview.2"
#:package Runic.Assets.Desktop@0.7.0-preview.2
#addin nuget:?package=Runic.Assets.Desktop&version=0.7.0-preview.2&prerelease
#tool nuget:?package=Runic.Assets.Desktop&version=0.7.0-preview.2&prerelease
Runic.Assets.Desktop
Optional request-scoped delivery of authoritative Runic Assets snapshots through Runic Desktop. The adapter preserves manifest media types, strong entity tags, cache policy, byte ranges, streaming, and request cancellation while Runic Desktop owns only the HTTP response lifetime.
dotnet add package Runic.Assets.Desktop --prerelease
Attach an IAssetSnapshotSource, such as an embedded archive, to a Desktop
surface:
using System.Reflection;
using Runic.Assets;
using Runic.Assets.Desktop;
using Runic.Desktop;
AssetArchiveSource assets = AssetArchive.ReadEmbedded(Assembly.GetExecutingAssembly());
await using var host = await DesktopHost.StartAsync();
await using var surface = await host.CreateSurfaceAsync(new DesktopSurfaceOptions
{
Content = new DesktopContent.Handler(assets.ToDesktopContentHandler()),
});
Paths resolve with the same AssetManifest.TryResolveRequestPath rules and
defaults as Runic.Assets.AspNetCore: the root serves the entry point, manifest
paths are exact, and missing paths without a file extension fall back to the
entry point. A path with a trailing slash, such as /settings/, is not served.
Pass AssetRoutingOptions to ToDesktopContentHandler to disable the root or
the fallback. Unknown and invalid paths otherwise return 404. Runic Desktop
answers methods other than GET and HEAD with 405, and it decodes %2F in
request paths before the handler resolves them.
| 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
- Microsoft.Web.WebView2 (>= 1.0.4258.31)
- Runic.Assets (= 0.7.0-preview.2)
- Runic.Desktop (= 0.7.0-preview.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Runic.Assets.Desktop:
| Package | Downloads |
|---|---|
|
Runic.Application.Views.Desktop
Runic Window and View host adapter for Runic Desktop. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.12.1 | 89 | 10/27/2026 |
| 0.12.0 | 189 | 10/27/2026 |
| 0.11.0 | 1,630 | 10/25/2026 |
| 0.10.0 | 3,095 | 10/22/2026 |
| 0.9.1 | 402 | 10/21/2026 |
| 0.9.0 | 124 | 10/21/2026 |
| 0.8.0-preview.6 | 439 | 10/19/2026 |
| 0.8.0-preview.5 | 138 | 10/17/2026 |
| 0.8.0-preview.4 | 396 | 10/17/2026 |
| 0.8.0-preview.3 | 394 | 10/15/2026 |
| 0.8.0-preview.2 | 78 | 10/15/2026 |
| 0.8.0-preview.1 | 102 | 10/15/2026 |
| 0.7.0-preview.9 | 336 | 10/14/2026 |
| 0.7.0-preview.8 | 79 | 10/12/2026 |
| 0.7.0-preview.7 | 54 | 10/12/2026 |
| 0.7.0-preview.6 | 355 | 10/9/2026 |
| 0.7.0-preview.5 | 126 | 10/9/2026 |
| 0.7.0-preview.4 | 73 | 10/8/2026 |
| 0.7.0-preview.3 | 60 | 10/8/2026 |
| 0.7.0-preview.2 | 62 | 10/7/2026 |