Webority.Delivery
0.24.8
dotnet add package Webority.Delivery --version 0.24.8
NuGet\Install-Package Webority.Delivery -Version 0.24.8
<PackageReference Include="Webority.Delivery" Version="0.24.8" />
<PackageVersion Include="Webority.Delivery" Version="0.24.8" />
<PackageReference Include="Webority.Delivery" />
paket add Webority.Delivery --version 0.24.8
#r "nuget: Webority.Delivery, 0.24.8"
#:package Webority.Delivery@0.24.8
#addin nuget:?package=Webority.Delivery&version=0.24.8
#tool nuget:?package=Webority.Delivery&version=0.24.8
Webority.Delivery
Versioned links to a product's authored static assets: the files listed under the static deployable in the repo's .webority/infra/deployables.json and stored on Cloudflare R2. From any .NET host, IAuthoredAssets.Url("<key>") returns the authored origin, the key and ?v= with the first 12 hex characters of the file's sha256.
Host without pages (Azure Functions, a worker)
Opt in with the build property and reference the package. The build copies the repo's .webority/infra/deployables.json (its static deployable carries the list) beside the assemblies and into the publish folder:
<PropertyGroup>
<WeborityStaticAssets>true</WeborityStaticAssets>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Webority.Delivery" />
</ItemGroup>
Register the link in the host:
services.AddWeborityStaticAssets();
Set the authored origin in configuration:
"StaticAssets": { "AuthoredOrigin": "https://static.example.com" }
Link a file from a Razor template:
@inject Webority.Delivery.IAuthoredAssets StaticAssets
<a href="@StaticAssets.Url("samples/report.pdf")" download>Sample report</a>
AuthoredOriginmust be an absolute https origin:https://hostorhttps://host:port, with no path."/"andBuildOriginstop startup. A host without pages does not serve the files itself, so"/"would name a file this host never serves.- Calling
AddWeborityStaticAssetsbesideAddWeborityDeliverythrows. - Link each file through
StaticAssets.Url("<key>")in Razor, so cdn-guard counts it. - A web head uses
Webority.Delivery.AspNetCoreandIStaticAssetsinstead.
| 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.Extensions.Hosting.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.13)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Webority.Delivery:
| Package | Downloads |
|---|---|
|
Webority.Delivery.AspNetCore
How a Webority web head ships its bytes and answers: Brotli-first response compression, static files with the fleet cache policy (versioned assets a year, never immutable), the Cloudflare edge-cache header middleware, the fleet API contract (RFC 9457 problem details for every error including the framework's own, the status and code table, ETag preconditions, retirement headers, idempotent POST and PATCH, the minimum app build announcement), an honest /health endpoint with database and data-protection checks, the paged list contract, and a build-time analyzer that keeps hand-written error bodies out with a shrink-only ceiling. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.24.8 | 45 | 10/29/2026 |
| 0.24.7 | 40 | 10/29/2026 |
| 0.24.6 | 69 | 10/28/2026 |
| 0.24.5 | 74 | 10/28/2026 |
| 0.24.4 | 73 | 10/28/2026 |
| 0.24.3 | 93 | 10/27/2026 |
| 0.24.2 | 96 | 10/26/2026 |
| 0.24.1 | 101 | 10/25/2026 |
| 0.24.0 | 100 | 10/25/2026 |
| 0.23.0 | 98 | 10/24/2026 |
| 0.22.0 | 118 | 10/24/2026 |
| 0.21.0 | 107 | 10/24/2026 |
| 0.20.0 | 103 | 10/24/2026 |
| 0.19.0 | 99 | 10/24/2026 |
| 0.18.0 | 101 | 10/24/2026 |
| 0.17.0 | 114 | 10/22/2026 |
| 0.16.1 | 113 | 10/17/2026 |
| 0.16.0 | 105 | 10/16/2026 |
| 0.15.1 | 104 | 10/16/2026 |
| 0.15.0 | 120 | 10/15/2026 |