Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 2.12 KB

File metadata and controls

38 lines (23 loc) · 2.12 KB

mvc

.NET 10.0 MVC Website integrated with ServiceStack using ASP.NET Identity Auth

Login

Browse source code and install with:

npx create-net mvc ProjectName

Jumpstart with Copilot

Instantly scaffold a new App with this template using GitHub Copilot, just describe the features you want and watch Copilot build it!

Database Setup

To create the User and Auth tables change the "DefaultConnection" connection string in appsettings.json then run the ef .NET Core tool:

dotnet ef migrations add CreateIdentitySchema
dotnet ef database update

If needed, you can re-create your DB schema after modifying your custom ApplicationUser class with additional info you want to store on each user, by deleting the __EFMigrationHistory and all AspNet* tables, deleting the Migrations folder in your host projects and re-running the above commands.

OAuth Setup

Replace the oauth.* App settings with your own in appsettings.Development.json for local development and appsettings.json for production deployments.