TerevintoSoftware.StaticSiteGenerator

screenshot of TerevintoSoftware.StaticSiteGenerator

An ASP.NET Core tool for generating static websites from MVC views.

Overview

The Static Site Generator is a project designed for c# developers to take advantage of inexpensive or free hosting options through static files while still being able to utilize familiar ASP.NET MVC concepts. By converting Views into HTML files, developers can create an initial static site that can later be updated to a dynamic website backed by ASP.NET Core without having to start from scratch. The project is divided into two packages, the main logic package, TerevintoSoftware.StaticSiteGenerator, which depends on ASP.NET Core, and the TerevintoSoftware.StaticSiteGenerator.Tool package, which contains a .NET Tool that can be invoked to perform the generation.

Features

  • Allows c# developers to benefit from inexpensive or free hosting through static files
  • Utilizes familiar ASP.NET MVC concepts such as Views, Partials, Layouts, etc.
  • Enables the conversion of Views into HTML files
  • Provides the option to update from a static site to a dynamic site backed by ASP.NET Core without starting from scratch

Summary

The Static Site Generator is a project that provides a cost-effective hosting solution for c# developers through the use of static files. By converting ASP.NET MVC Views into HTML files, developers can create a static site initially and then easily transition to a dynamic website backed by ASP.NET Core. The project is divided into two packages, one containing the main logic and the other containing a tool for generating the site. The installation process involves installing Visual Studio 2022, cloning the repository, and building the project. Overall, the Static Site Generator offers a convenient solution for hosting and developing websites.