BlazorS3Publish 1.0.0
dotnet tool install --global BlazorS3Publish --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local BlazorS3Publish --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=BlazorS3Publish&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package BlazorS3Publish --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
BlazorS3Publish
BlazorS3Publish is a .NET tool that uploads Blazor WebAssembly publish output to an AWS S3 bucket.
It reads the Blazor static web assets endpoints manifest so uploads preserve content metadata (like content type and content encoding), and applies cache-control headers suitable for Blazor assets.
Install
dotnet tool install --global BlazorS3Publish
Purpose
Use this tool after dotnet publish to deploy the generated wwwroot assets to S3 while:
- Uploading files described by the static web assets endpoints manifest.
- Preserving/inferring content type and content encoding (including
.br/.gzassets). - Applying immutable cache headers for fingerprinted framework assets and
no-cachefor other assets. - Computing and sending SHA-256 checksums with uploads.
Usage
blazor-s3-publish --source <publish-root-or-manifest> --bucket-name <bucket> [options]
Required options
--sourcePath to either:- the publish root directory that contains exactly one
*.staticwebassets.endpoints.json, or - a specific
*.staticwebassets.endpoints.jsonfile.
- the publish root directory that contains exactly one
--bucket-nameThe destination S3 bucket name.
Optional options
--key-prefixPrefix prepended to S3 object keys (for exampleproduction/site).--max-parallel-uploadsMaximum concurrent uploads (1to64, default8).
Example
dotnet tool install --global BlazorS3Publish
blazor-s3-publish --source ./publish --bucket-name my-blazor-site --key-prefix production --max-parallel-uploads 16
AWS configuration
The tool uses standard AWS SDK credential resolution (environment variables, shared credentials/config files, IAM role, etc.).
Set AWS_REGION to control the target region; if not set, it defaults to us-east-1.
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 45 | 6/19/2026 |
| 1.0.0-beta.1 | 44 | 6/19/2026 |