XStatic.CloudflarePages
1.0.0-alpha
This is a prerelease version of XStatic.CloudflarePages.
dotnet add package XStatic.CloudflarePages --version 1.0.0-alpha
NuGet\Install-Package XStatic.CloudflarePages -Version 1.0.0-alpha
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XStatic.CloudflarePages" Version="1.0.0-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="XStatic.CloudflarePages" Version="1.0.0-alpha" />
<PackageReference Include="XStatic.CloudflarePages" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add XStatic.CloudflarePages --version 1.0.0-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: XStatic.CloudflarePages, 1.0.0-alpha"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package XStatic.CloudflarePages@1.0.0-alpha
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=XStatic.CloudflarePages&version=1.0.0-alpha&prerelease
#tool nuget:?package=XStatic.CloudflarePages&version=1.0.0-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
xStatic Cloudflare Pages Deployer
A Cloudflare Pages deployer extension for xStatic for Umbraco.
Installation
Install the NuGet package:
dotnet add package XStatic.CloudflarePages
Configuration
Prerequisites
- Node.js: Must be installed on the server running your Umbraco instance
- Cloudflare Account: You need a Cloudflare account with Pages enabled
- API Token: Create an API token at Cloudflare API Tokens with "Cloudflare Pages Edit" permission
- Cloudflare Pages Project: The project must already exist in your Cloudflare Pages dashboard
Setup in xStatic
- In Umbraco, navigate to xStatic in the backoffice
- Create or edit a site configuration
- Select "Cloudflare Pages" as the deployer
- Enter your configuration:
- API Token: Your Cloudflare API token
- Account ID: Found in your Cloudflare dashboard URL (e.g.,
dash.cloudflare.com/{account-id}/pages) - Project Name: The name of your Cloudflare Pages project
Usage
Manual Registration
If you need to manually register the deployer:
using XStatic.CloudflarePages;
public void ConfigureServices(IServiceCollection services)
{
services.AddXStatic()
.AddCloudflarePagesDeployer();
}
Auto Registration
The deployer will be automatically registered if you have auto-installers enabled in xStatic.
Features
- Deploys static sites to Cloudflare Pages using the Wrangler CLI
- Automatically includes Cloudflare-specific files from wwwroot:
_redirects_headers_routes.jsonfunctions/folder (for Cloudflare Functions)
Requirements
- Umbraco 17+
- xStatic.Core 17+
- Node.js (for Wrangler CLI)
License
MIT License - see LICENSE for details.
| 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.
-
net10.0
- Umbraco.Cms.Core (>= 17.5.3)
- xStatic.Core (>= 17.1.0)
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.0.0-alpha | 74 | 10/28/2026 |