Saturn.Template 0.14.1

`dotnet new` template for Saturn Framework

dotnet new --install Saturn.Template::0.14.1
This package contains a .NET Core 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

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

Release Notes

* Update to Saturn 0.14.1

  • .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 History

Version Downloads Last updated
0.14.1 522 6/23/2020
0.12.1.1 355 4/19/2020
0.12.1 289 3/2/2020
0.9.0 851 7/30/2019
0.7.0 1,884 7/14/2018
0.4.1 905 2/27/2018
0.4.0 408 2/17/2018
0.2.1 554 1/29/2018