Snippington.Utility.Templates
0.1.2
dotnet new install Snippington.Utility.Templates::0.1.2
Snippington Templates
This is a set of .Net based scaffolds to accelerate development.
Snippington ASP.Net MVC Template
ASP.Net Core MVC Template with Identity and CRUD Controller.
Installation
Install using the below command:
dotnet new install Snippington.Utility.Templates
Getting Started
Create a new template using:
dotnet new snp-asp-mvc -n <YourAppName>
Automated Setup
Run the init script included in the project.
chmod +x ./init.sh
./init.sh
Manual Setting Up
Once you setup your template, run the below commands (only once):
dotnet ef database update
Run using:
dotnet run
Optional
Optionally, regenerate the Login, Identity screens using the below command:
dotnet aspnet-codegenerator identity -dc YourAppName.Data.ApplicationDbContext --files "Account.Register;Account.Login;Account.Logout;Account.RegisterConfirmation;Account.Manage.PersonalData" --force
dotnet ef migrations add CreateInitialSchema
dotnet ef database update
Snippington Console Application Template
CliFx based Console Application Template with a sample command.
Installation
Install using the below command:
dotnet new install Snippington.Utility.Templates
Getting Started
Create a new template using:
dotnet new snp-cli -n <YourAppName>
cd <YourAppName>
dotnet run yourcommand sample
-
net8.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.