Templates to be used with dotnet new
to quickly create projects based on
the GenHTTP webserver.
To install the template pack, run the following command in your terminal.
dotnet new -i GenHTTP.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-website |
A website, mainly for static content such as a business website. |
genhttp-website-mvc-razor |
Dynamic website using the MVC pattern and Razor as a templating engine. |
genhttp-website-mvc-scriban |
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. |