TerevintoSoftware.StaticSiteGenerator 10.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global TerevintoSoftware.StaticSiteGenerator --version 10.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local TerevintoSoftware.StaticSiteGenerator --version 10.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=TerevintoSoftware.StaticSiteGenerator&version=10.0.0
                    
nuke :add-package TerevintoSoftware.StaticSiteGenerator --version 10.0.0
                    

Static Site Generator

Coverage Status Nuget version

This project aims to provide a way for c# developers to benefit from very cheap/free hosting through static files, while allowing them to use familiar ASP.NET MVC concepts (Views, Partials, Layouts, etc). This also allows you to have an initial static site that you can then update to a dynamic website backed by ASP.NET Core without starting from scratch.

Since this project converts Views into HTML files, it is not possible (at least yet) to use Models.

Packages

This project is divided in two packages:

Package Purpose
TerevintoSoftware.StaticSiteGenerator Contains the main logic of the project, depends on ASP.NET Core.
TerevintoSoftware.StaticSiteGenerator.Tool Contains a .NET Tool that can be invoked to perform the generation.

Sample usage

SSG.NET has its own website that lists the different features here: https://www.staticsitegenerator.net/.

There is also a sample GitHub repository that shows how to use the tool for a Blog: https://github.com/CamiloTerevinto/StaticBlogTemplate.

How to build

  • Install Visual Studio 2022 (.NET 6 required), if needed. The ASP.NET Core workload is required to build the project.
  • Install git, if needed.
  • Clone this repository.
  • Build from Visual Studio or through dotnet build.

Running tests

Once the solution is compiled, tests can be run either from Visual Studio's Test Explorer window, or through dotnet test.

License

This project is licensed under the MIT license.

Bug reports and feature requests

Please use the issue tracker and ensure your question/feedback was not previously reported.

Product 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.

This package has no dependencies.

Version Downloads Last Updated
10.0.1 116 1/5/2026
10.0.0 114 1/5/2026
2.2.0 618 7/23/2025
2.1.0 256 7/29/2024
2.0.0 292 11/17/2023
Loading failed