Search-ready pages
Metadata, canonical URLs, Open Graph, JSON-LD, sitemap.xml and robots.txt, set from C#.
Blazor foundation
Four packages that build on each other, so an application takes exactly what it needs.
Metadata, canonical URLs, Open Graph, JSON-LD, sitemap.xml and robots.txt, set from C#.
Share an app shell across WebAssembly, Android, iOS, Mac Catalyst and Windows.
Ordered CSS and JavaScript bundles with content-based cache busting.
CloudBlazor is the foundation of the Angry Monkey Cloud Blazor ecosystem, providing reusable UI, browser behaviors, website infrastructure, Blazor WebAssembly application features, and .NET MAUI Blazor Hybrid integrations.
Four NuGet packages, each depending only on the one above it, so an application takes exactly what it needs:
AngryMonkey.CloudBlazor
├── AngryMonkey.CloudBlazor.Web
└── AngryMonkey.CloudBlazor.App
└── AngryMonkey.CloudBlazor.App.Maui
| Package | Latest Version | Downloads | Depends On | Purpose |
|---|---|---|---|---|
| AngryMonkey.CloudBlazor | — | Core Razor Class Library containing reusable components, browser behaviors, JavaScript initializers, and shared Blazor functionality. | ||
| AngryMonkey.CloudBlazor.Web | CloudBlazor | Server-side website package focused on HTML structure, layouts, SEO, metadata, routing, and website infrastructure. | ||
| AngryMonkey.CloudBlazor.App | CloudBlazor | Client-side framework for Blazor WebAssembly applications, including reusable application services and application-level UI. | ||
| AngryMonkey.CloudBlazor.App.Maui | CloudBlazor.App | Native .NET MAUI and Blazor Hybrid integrations built on CloudBlazor.App. |
dotnet add package AngryMonkey.CloudBlazor.Web
dotnet add package AngryMonkey.CloudBlazor.App
dotnet add package AngryMonkey.CloudBlazor.App.Maui
dotnet add package AngryMonkey.CloudBlazor
CloudBlazor merges the former CloudWeb and CloudApp repositories. Their packages are no longer updated; each has a direct replacement.
| Previous package | Last published | Replacement |
|---|---|---|
AngryMonkey.CloudWeb |
2.3.0 | AngryMonkey.CloudBlazor.Web |
AngryMonkey.CloudWeb.Server |
2.4.3 | AngryMonkey.CloudBlazor.Web |
AngryMonkey.CloudApp |
1.2.1 | AngryMonkey.CloudBlazor.App |
AngryMonkey.CloudApp.Maui |
1.2.1 | AngryMonkey.CloudBlazor.App.Maui |
AngryMonkey.CloudApp.Shared |
1.1.0 | AngryMonkey.CloudBlazor.App |
AngryMonkey.CloudApp.Web |
1.1.0 | AngryMonkey.CloudBlazor.App |
AngryMonkey.CloudApp.Mobile |
1.1.0 | AngryMonkey.CloudBlazor.App.Maui |
Namespaces move with the package identity:
| Previous namespace | New namespace |
|---|---|
AngryMonkey.CloudWeb |
AngryMonkey.CloudBlazor.Web |
AngryMonkey.CloudApp |
AngryMonkey.CloudBlazor.App |
Type and method names are unchanged. Per-package migration notes, including the behaviour changes that came with the merge, are in each package readme: CloudBlazor.Web · CloudBlazor.App · CloudBlazor.App.Maui
Because all four are new package identities shipping as a matched set, versioning restarts at
1.0.0. The version histories of the previous packages do not carry over.
hreflang alternatessitemap.xml and robots.txt endpoints| Platform | CloudBlazor | Web | App | Maui |
|---|---|---|---|---|
| Static SSR | ✅ | ✅ | — | — |
| Interactive Server | ✅ | ✅ | ✅ | — |
| Interactive Auto | ✅ | ✅ | ✅ | — |
| Blazor WebAssembly | ✅ | — | ✅ | — |
| .NET MAUI Blazor Hybrid | ✅ | — | ✅ | ✅ |
| MVC / Razor Pages | ✅ | ✅ | — | — |
CloudBlazor/
├── CloudBlazor/ # AngryMonkey.CloudBlazor
├── CloudBlazor.Web/ # AngryMonkey.CloudBlazor.Web
├── CloudBlazor.App/ # AngryMonkey.CloudBlazor.App
├── CloudBlazor.App.Maui/ # AngryMonkey.CloudBlazor.App.Maui
├── CloudBlazor.Demo/ # Unified demo covering every package
├── CloudBlazor.Tests/ # xUnit test project
├── CloudBlazor.Package/ # CloudMate packaging entry point
├── Directory.Build.props # Shared build configuration
├── Directory.Build.targets # Shared packaging configuration
└── README.md
CloudBlazor's browser behaviors start in one of two ways, and which applies depends only on whether the host loads a Blazor script.
CloudBlazor.Web or CloudBlazor.App still receives it, because both are
Razor Class Libraries that forward CloudBlazor's static web assets.<CloudBlazorScript />, or let CloudBlazor.Web emit
it as part of the managed head — which it does by default.Both paths are guarded, so running both is safe. CloudBlazor.Tests asserts the whole asset
chain, including the {PackageId}.lib.module.js naming rule the SDK depends on, because nothing
fails at build time when it drifts.
Adding a reference and seeing no behaviors usually means a stale incremental build. Static web assets are resolved during the build; rebuild rather than build.
Static assets follow the shared Angry Monkey convention: author .less under src/, and let
CloudMate compile it into wwwroot. Never edit a generated .css file.
git clone https://github.com/angrymonkeycloud/CloudBlazor.git
cd CloudBlazor
dotnet restore
dotnet build
Run the tests:
dotnet test CloudBlazor.Tests/CloudBlazor.Tests.csproj
Run the demo:
dotnet run --project CloudBlazor.Demo/CloudBlazor.Demo.csproj
The demo is one Blazor Web App covering all three web-capable packages: CloudBlazor's browser
behaviors, CloudBlazor.Web's metadata, canonical and social tags, sitemap and robots.txt,
bundles, robots directives and crawler detection, and CloudBlazor.App's navigation service —
each on its own page with live state. It serves a real /sitemap.xml and /robots.txt.
.github/workflows/tests.yml runs on every push and pull request
to main:
dotnet pack outright, and CloudBlazor.Web once shipped
23 MB of unrelated content files.CloudBlazor.Package is the single packaging entry point. It uses
AngryMonkey.CloudMate's CloudPack to
version, build, pack and publish all four packages in one run, in dependency order.
<Version> in CloudBlazor.Package/CloudBlazor.Package.csproj. CloudPack propagates it,
along with the shared metadata, into every library — so the individual project files are not
edited by hand.dotnet user-secrets --project CloudBlazor.Package set "NuGetApiKey" "<your-key>"
dotnet run --project CloudBlazor.Package/CloudBlazor.Package.csproj
Packages are also written to NugetPackages/.
MIT License © Angry Monkey Cloud
This project follows the shared AI development instructions.
CloudBlazor hosting remains independent of theme models. Its demo uses CloudThemeDocument from CloudCommon.Theming.Blazor; the existing mode switch also updates data-amc-theme. See the common theme contract.
Use the libraries, send a pull request, or help pay for the work.