Snippington.Utility.Templates
0.0.5
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet new install Snippington.Utility.Templates::0.0.5
This package contains a .NET Template Package you can call from the shell/command line.
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
-
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.