An open API service indexing awesome lists of open source software.

https://github.com/servicestack/servicestack.net

servicestack.net website
https://github.com/servicestack/servicestack.net

Last synced: 8 months ago
JSON representation

servicestack.net website

Awesome Lists containing this project

README

          

# servicestack.net

.NET 8.0 razor-ssg Static Generated Razor Pages Project Template

[![](https://raw.githubusercontent.com/ServiceStack/docs/master/docs/images/ssg/servicestack.net-home-1440.png)](https://servicestack.net)

> Browse [source code](https://github.com/NetCoreTemplates/razor-ssg), view live demo [razor-ssg.web-templates.io](https://razor-ssg.web-templates.io) and install with [dotnet-new](https://docs.servicestack.net/dotnet-new):

$ dotnet tool install -g x

$ x new razor-ssg ProjectName

Alternatively write new project files directly into an razor-ssg repository, using the Directory Name as the ProjectName:

$ git clone https://github.com//.git
$ cd
$ x new razor-ssg

## Documentation

Documentation for this template is included at [/posts/razor-ssg](https://razor-ssg.web-templates.io/posts/razor-ssg).

## Development Tasks

Tasks to run live reload Tailwind and .NET Razor Pages App during development:

### Run Tailwind in Background

$ npm run ui:dev

### Run .NET App with Live Reload

$ dotnet watch

## Local Production Tasks

Tasks to prerender and preview production ssg website build:

### Prerender website

$ npm run prerender

### Preview pre-rendered website

$ npm run serve