SilentOrbit.BlazorBlogBuilder
0.1.1.3
Prefix Reserved
dotnet add package SilentOrbit.BlazorBlogBuilder --version 0.1.1.3
NuGet\Install-Package SilentOrbit.BlazorBlogBuilder -Version 0.1.1.3
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="SilentOrbit.BlazorBlogBuilder" Version="0.1.1.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SilentOrbit.BlazorBlogBuilder" Version="0.1.1.3" />
<PackageReference Include="SilentOrbit.BlazorBlogBuilder" />
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 SilentOrbit.BlazorBlogBuilder --version 0.1.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SilentOrbit.BlazorBlogBuilder, 0.1.1.3"
#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 SilentOrbit.BlazorBlogBuilder@0.1.1.3
#: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=SilentOrbit.BlazorBlogBuilder&version=0.1.1.3
#tool nuget:?package=SilentOrbit.BlazorBlogBuilder&version=0.1.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Static site generation from Blazor websites
Write your blazor app and have it generated into a static website or blog.
Features
- Write your blog posts in razor files
- Use
@inherit BlogPost
to automatically add it to the feeds and list of post
- Use
- Add metadata using
Page.Title = "Hello"
,Page.Published = "2025-07-01 15:42"
- Tags/Category support
Page.Tags = "first, inspiring, website"
- Add
<Summary>
and<Update>
to your blog posts or any other page (which will appear in the feeds) - Static comments using
<Comment>
with support for email comments - Comment form for email comments
- Markdown
- Write in Markdown directly inside your razor files
- Customize where to parse as Markdown
- Set defaults in
SiteConfig.BuildConfig.Markdown
- Override defaults using
Page.Markdown = false
,<Markdown># Hello</Markdown>
or<Summary Markdown="false">Raw text</Summary>
- Set defaults in
- Draft pages will not be included in the build
Page.IsDraft = true
- Schedule publishing using
Page.Publish = "2058-01-01"
in combination with scheduled GitHub builds - Host at a subdirectory,
www.example.com/blog/
- Generates RSS, Atom and JSON Feed
- Includes
@inherit BlogPost
,Page.InFeed = true
,<Update Date="2025-07-01">
- Per tag feeds
- Includes
- Generates
sitemap.xml
andsitemap.txt
- Integrated crawler that finds and downloads all linked pages
- Missing pages will stop the build
- Finds all razor pages with
@page "/my/page/"
and include them in the build.- Those with parameters,
@page "/subdir/{Index:int}"
, will be discovered via the integrated crawler.
- Those with parameters,
- Per page/post customization of headers
Page.Head.Robots.NoIndex = true
Page.Sitemap = false
- GitHub Action generation and publishing
- See instructions at
.github/workflows/publish.yml
- See instructions at
Online Demo
- https://www.silentorbit.com/blazor-blog-builder/blazor/
- https://www.silentorbit.com/blazor-blog-builder/blog/
Getting started
- Download the demo at https://github.com/silentorbit/BlazorBlogBuilderDemo
- Mark
BlogDemo
as the startup project - Run the project
After the build is completed (in about 2 seconds), the website will load in the browser.
Start from scratch
Create a new Blazor app or modify an existing one.
Use either the NuGet package or clone the latest version from git.
- NuGet: https://www.nuget.org/packages/SilentOrbit.BlazorBlogBuilder/
- Add the NuGet package to your Blazor app
- Git: https://github.com/silentorbit/BlazorBlogBuilder
- Reference the project BlazorBlogBuilder
Modify your Blazor app according to the demo https://github.com/silentorbit/BlazorBlogBuilderDemo
Look for #region BlazorBlogBuilder
in:
Program.cs
App.razor
- See
Posts.razor
andTags.razor
on how to render blog posts and tag index
Support
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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.
-
net9.0
- Markdig (>= 0.41.3)
- SilentOrbit.SilentDisk (>= 0.9.0)
- SixLabors.ImageSharp (>= 3.1.11)
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 |
---|---|---|
0.1.1.3 | 41 | 8/4/2025 |