ArchPillar.Extensions.Localization.AspNetCore
1.5.0-preview9
dotnet add package ArchPillar.Extensions.Localization.AspNetCore --version 1.5.0-preview9
NuGet\Install-Package ArchPillar.Extensions.Localization.AspNetCore -Version 1.5.0-preview9
<PackageReference Include="ArchPillar.Extensions.Localization.AspNetCore" Version="1.5.0-preview9" />
<PackageVersion Include="ArchPillar.Extensions.Localization.AspNetCore" Version="1.5.0-preview9" />
<PackageReference Include="ArchPillar.Extensions.Localization.AspNetCore" />
paket add ArchPillar.Extensions.Localization.AspNetCore --version 1.5.0-preview9
#r "nuget: ArchPillar.Extensions.Localization.AspNetCore, 1.5.0-preview9"
#:package ArchPillar.Extensions.Localization.AspNetCore@1.5.0-preview9
#addin nuget:?package=ArchPillar.Extensions.Localization.AspNetCore&version=1.5.0-preview9&prerelease
#tool nuget:?package=ArchPillar.Extensions.Localization.AspNetCore&version=1.5.0-preview9&prerelease
ArchPillar.Extensions.Localization.AspNetCore
Optional ASP.NET Core hosting helpers for ArchPillar.Extensions.Localization. A hosted Blazor WebAssembly
client fetches its translation catalogs (.arb, .xliff, .po) over HTTP, but the static file middleware
returns 404 for unknown file extensions by default — so the catalogs never load and the app silently falls back
to its in-code defaults. These helpers register the catalog content types.
For a single static-files registration, use the one-call convenience:
app.UseArchPillarTranslationFiles(); // root
app.UseArchPillarTranslationFiles("/party"); // under a request path
When the app already configures UseStaticFiles, register the catalog types on a content-type provider and
pass it to each call instead — handy when several WebAssembly clients are hosted under different paths:
var provider = new FileExtensionContentTypeProvider().AddArchPillarTranslationFormats();
app.UseStaticFiles(new StaticFileOptions { ContentTypeProvider = provider });
app.UseStaticFiles(new StaticFileOptions { RequestPath = "/admin", ContentTypeProvider = provider });
app.UseStaticFiles(new StaticFileOptions { RequestPath = "/party", ContentTypeProvider = provider });
The client side — fetching the catalogs and discovering them through the build-emitted manifest — uses
ManifestCatalogProvider from the core
ArchPillar.Extensions.Localization
package, wired up by the ArchPillar.Extensions.Localization.WebAssembly package's
UseArchPillarLocalizationAsync host helper. This package only concerns serving the catalog files.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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
- ArchPillar.Extensions.Localization (>= 1.5.0-preview9)
-
net8.0
- ArchPillar.Extensions.Localization (>= 1.5.0-preview9)
-
net9.0
- ArchPillar.Extensions.Localization (>= 1.5.0-preview9)
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.5.0-preview9 | 72 | 8/3/2026 |
| 1.5.0-preview8 | 65 | 7/31/2026 |
| 1.5.0-preview7 | 66 | 7/30/2026 |
| 1.5.0-preview6 | 72 | 7/29/2026 |
| 1.5.0-preview5 | 63 | 7/26/2026 |
| 1.5.0-preview4 | 66 | 7/25/2026 |
| 1.5.0-preview3 | 91 | 6/17/2026 |
| 1.5.0-preview2 | 77 | 6/17/2026 |
| 1.5.0-preview15 | 70 | 8/21/2026 |
| 1.5.0-preview14 | 78 | 8/17/2026 |
| 1.5.0-preview13 | 74 | 8/11/2026 |
| 1.5.0-preview12 | 69 | 8/10/2026 |
| 1.5.0-preview11 | 66 | 8/10/2026 |
| 1.5.0-preview10 | 69 | 8/6/2026 |
| 1.5.0-preview1 | 86 | 6/16/2026 |
| 1.4.4-preview | 75 | 6/15/2026 |
| 1.4.3-preview | 73 | 6/14/2026 |