Saturn.Template 0.14.1

There is a newer version of this package available.
See the version list below for details.
dotnet new install Saturn.Template::0.14.1                
This package contains a .NET Template Package you can call from the shell/command line.

How to build application

  1. Make sure you have installed version of .Net SDK defined in global.json
  2. Run dotnet tool restore to restore all necessary tools
  3. Run dotnet saturn migration to create sqlite database
  4. Run dotnet fake build -t Run to start application in watch mode (automatic recompilation and restart at file save)

How to use dotnet saturn

Templates comes with Saturn.Cli tool installed by default. It's a CLI tool that can be used for project scaffold and managing generated DB migrations

Commands

dotnet saturn supports following commands:

  • gen NAME NAMES COLUMN:TYPE COLUMN:TYPE COLUMN:TYPE ... - creates model, database layer, views and controller returning HTML views
  • gen.json NAME NAMES COLUMN:TYPE COLUMN:TYPE COLUMN:TYPE ... - creates model, database layer and JSON API controller
  • gen.model NAME NAMES COLUMN:TYPE COLUMN:TYPE COLUMN:TYPE ... - creates model and database layer
  • migration - runs all migration scripts for the database
Supported Types

Generator supports following types:

  • string
  • int
  • float
  • double
  • decimal
  • guid
  • datetime
  • bool
  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 3,527 7/9/2022
0.14.1 6,272 6/23/2020
0.12.1.1 2,900 4/19/2020
0.12.1 2,728 3/2/2020
0.9.0 3,403 7/30/2019
0.7.0 4,606 7/14/2018
0.4.1 3,730 2/27/2018
0.4.0 2,935 2/17/2018
0.2.1 3,637 1/29/2018

* Update to Saturn 0.14.1