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.
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.
- Install Visual Studio 2025 (.NET 10 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.
Once the solution is compiled, tests can be run either from Visual Studio's Test Explorer window, or through dotnet test.
This project is licensed under the MIT license.
Please use the issue tracker and ensure your question/feedback was not previously reported.