Skip to content

Kaliumhexacyanoferrat/GenHTTP.Templates

Repository files navigation

GenHTTP Templates

Templates to be used with dotnet new to quickly create projects based on the GenHTTP webserver.

CI Lines of Code nuget Package

Installation

To install the template pack, run the following command in your terminal.

dotnet new install GenHTTP.Templates

Included Templates

To use one of the templates below, create a new folder and run dotnet new <template> in your terminal.

Template Description
genhttp-webservice A project that will host a new REST web service.
genhttp-webservice-minimal A project that will host a new REST web service in a single file.
genhttp-website [deprecated] A website, mainly for static content such as a business website.
genhttp-website-mvc-razor [deprecated] Dynamic website using the MVC pattern and Razor as a templating engine.
genhttp-website-mvc-scriban [deprecated] Dynamic website using the MVC pattern and Scriban as a templating engine.
genhttp-website-static Project to serve a static website from the file system.
genhttp-spa Project to serve the distribution files of a Single Page Application.

Template Development

To start development of the templates itself, clone the repository and run the following command in the new directory:

dotnet new install .

About

Project templates to be used with the GenHTTP webserver SDK.

Resources

License

Stars

Watchers

Forks

Sponsor this project