Are there .NET-based static site generators that can be used with Cloudflare Pages, and how?

Question

Grade: Education Subject: Support
Are there .NET-based static site generators that can be used with Cloudflare Pages, and how?
Asked by:
92 Viewed 92 Answers

Answer (92)

Best Answer
(516)
Yes, .NET-based static site generators like Statiq or Wyam can be used with Cloudflare Pages. These tools take content (e.g., Markdown, Razor) and generate a set of static HTML, CSS, and JavaScript files. To deploy, you would configure Cloudflare Pages to run the generator's build command (e.g., `dotnet run --project YourStatiqProject`) and then specify the output directory where the generated static files reside (e.g., `output` or `_output`). Cloudflare Pages will then deploy these pre-generated static assets.