RunicAssets 0.1.0-preview.24.1
dotnet add package RunicAssets --version 0.1.0-preview.24.1
NuGet\Install-Package RunicAssets -Version 0.1.0-preview.24.1
<PackageReference Include="RunicAssets" Version="0.1.0-preview.24.1" />
<PackageVersion Include="RunicAssets" Version="0.1.0-preview.24.1" />
<PackageReference Include="RunicAssets" />
paket add RunicAssets --version 0.1.0-preview.24.1
#r "nuget: RunicAssets, 0.1.0-preview.24.1"
#:package RunicAssets@0.1.0-preview.24.1
#addin nuget:?package=RunicAssets&version=0.1.0-preview.24.1&prerelease
#tool nuget:?package=RunicAssets&version=0.1.0-preview.24.1&prerelease
RunicAssets
RunicAssets is a framework-neutral static-asset boundary. It has no dependency on hosting, CS-WebUI, HTMX,
MVVM, a CSS system, or a browser framework.
EmbeddedAssetSourceserves explicitly mapped assembly resources directly, which supports offline, single-file, trimmed, and Native-AOT applications.DevelopmentDirectoryAssetSourceprovides refreshable local files with no-store caching for development only.AssetArchive.ReadEmbeddedloads a build-generated canonical archive without extracting files to disk and supports single-file and NativeAOT applications.AssetManifestis immutable and ordinally ordered. Every entry carries its media type, byte length, SHA-256 digest, strong entity tag, and cache policy.AssetPathrejects rooted, traversal, encoded, ambiguous, and control-character paths.
Embedded resources must be declared in the application project and registered explicitly:
var assets = new EmbeddedAssetSource(
typeof(Program).Assembly,
[
new("index.html", "MyApp.Assets.index.html", IsEntryPoint: true),
new("assets/app.css", "MyApp.Assets.app.css",
CacheMode: AssetCacheMode.Immutable),
]);
For a complete Vite build, automatic packing avoids per-file registrations:
<PropertyGroup>
<RunicAssetsDist>..\Client.Web\dist</RunicAssetsDist>
</PropertyGroup>
var assets = AssetArchive.ReadEmbedded(typeof(Program).Assembly);
The build target is incremental, uses index.html as the default entry point,
and accepts RunicAssetsEntryPoint, RunicAssetsDistExclude,
RunicAssetsEmbeddedArchive, and RunicAssetsEmbeddedResourceName overrides.
The generated archive is the portable runic.assets.archive/1 format rather
than a host-specific virtual-filesystem image.
The package deliberately does not define HTTP endpoints or a CS-WebUI adapter.
Those layers translate IAssetSource into their own transport contracts.
| 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
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on RunicAssets:
| Package | Downloads |
|---|---|
|
RunicAssets.AspNetCore
ASP.NET Core endpoint integration for Runic Assets. |
|
|
RunicAssets.CsWebUi
Direct Runic Assets HTTP response integration for CS-WebUI. |
|
|
RunicAssets.RunicToolkit
Runic Toolkit frontend asset provider integration owned and released by Runic Assets. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.24.1 | 72 | 8/11/2026 |