ShadyNagy.ApiTemplate 1.3.0

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

ShadyNagy.ApiTemplate

EF Migrations Commands

Ensure the tool EF was already installed. You can find some help here

setx PATH "%PATH%;C:\Users\USER_NAME\.dotnet\tools" 
dotnet tool install --global dotnet-ef

Add a new migration (from the ShadyNagy.ApiTemplate.Api folder):

dotnet ef migrations add MIGRATIONNAME -c appdbcontext -p ../ShadyNagy.ApiTemplate.Infrastructure/ShadyNagy.ApiTemplate.Infrastructure.csproj -s ShadyNagy.ApiTemplate.Api.csproj -o Data/Migrations

Update AppDbContext model (from the ShadyNagy.ApiTemplate.Api folder):

dotnet ef database update -c appdbcontext -p ../ShadyNagy.ApiTemplate.Infrastructure/ShadyNagy.ApiTemplate.Infrastructure.csproj -s ShadyNagy.ApiTemplate.Api.csproj

Generate Idempotent Update Script (for production)(from the ShadyNagy.ApiTemplate.Api folder):

dotnet ef migrations script -c AppDbContext -i -o migrate.sql -p ../ShadyNagy.ApiTemplate.Infrastructure/ShadyNagy.ApiTemplate.Infrastructure.csproj -s ShadyNagy.ApiTemplate.Api.csproj

Some CLI

dotnet format whitespace
dotnet format style

This package has 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
2.0.1 2,433 8/19/2022
2.0.0 1,366 8/18/2022
1.7.1 1,473 8/8/2022
1.7.0 1,456 8/8/2022
1.6.3 1,394 8/5/2022
1.6.2 1,400 8/5/2022
1.6.1 1,536 8/4/2022
1.6.0 1,390 8/4/2022
1.5.8 1,528 8/3/2022
1.5.7 1,422 8/1/2022
1.5.6 1,389 7/26/2022
1.5.5 1,662 7/23/2022
1.5.4 1,366 7/23/2022
1.5.3 1,413 7/23/2022
1.5.2 1,567 7/23/2022
1.5.1 1,512 7/23/2022
1.5.0 1,453 7/17/2022
1.4.7 1,419 7/13/2022
1.4.6 1,661 7/5/2022
1.4.5 1,440 7/5/2022
1.4.4 1,392 7/2/2022
1.4.3 1,516 7/2/2022
1.4.2 1,565 6/27/2022
1.4.1 1,363 6/27/2022
1.4.0 1,545 6/27/2022
1.3.0 1,424 6/27/2022
1.2.1 1,587 6/27/2022
1.2.0 1,728 6/27/2022
1.1.0 1,416 6/26/2022

Request for every endpoint has been added.