Static Site Generator

BlazorStatic – static site generator for Blazor

BlazorStatic is a static site generation library for Blazor applications. It allows developers to construct websites using Razor components and familiar application development techniques rather than adopting a separate templating system.

During generation, BlazorStatic requests rendered pages from the running application through an HTTP client and writes the resulting HTML and associated assets to an output directory. The generated files can be published independently of the application that produced them. Markdown documents can be mapped to application-specific content models, allowing developers to reuse content from other static site generators and customise how individual documents are presented.

This is free and open source software.

Key Features

  • Generates static HTML from server-rendered Blazor pages.
  • Automatically discovers routes defined by Razor components.
  • Supports multiple routes associated with a single component.
  • Allows developers to include and exclude individual pages from generation.
  • Processes Markdown documents into website content.
  • Supports custom YAML front matter and strongly typed content models.
  • Supports reusable Razor components and application layouts.
  • Supports integration with compatible Blazor component libraries.
  • Allows developers to use their preferred CSS frameworks and styling.
  • Exports static website assets alongside generated pages.
  • Supports configurable output directories.
  • Supports hot reloading during website development.
  • Provides an option to terminate the application after static generation.
  • Includes a starter blog template with example content and reusable components.

Website: github.com/BlazorStatic/BlazorStatic
Support:
Developer: BlazorStatic
License: MIT License

BlazorStatic is written in C#. Learn C# with our recommended free books and free tutorials.


Related Software

C# Static Site Generators
DocFXExtensible and scalable static documentation generator
BookGenCLI toolchain for writing books and documentation in Markdown
BlazorStaticCraft static websites
AspNetStaticTransform ASP.NET Core into a static site generator
Record Collector.NET 6.0 static site toolkit
LunetUses the Scriban templating language to build websites
BlakeTransforms Blazor WebAssembly projects into static websites
GrazeDocsSource static documentation generator. Content created with Markdown

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted