Template for ASP.NET MVC Web Apps with .NET 6
- Clone the repo/download the latest release
- Put the MVCTemplate ZIP in \Visual Studio 2022\Templates\ProjectTemplates
- Open Visual Studio 2022
- Create a new project
- Select the MVCTemplate
- Change the connection string(s) in UI/appsettings.json
- Open Tools -> NuGet Package Manager -> Package Manager Console
- Run the following commands on Default Project: Infrastructure
- Add-Migration "Initial" -Context BusinessContext
- Update-Database -Context BusinessContext
- Add-Migration "Initial" -Context IdentityContext
- Update-Database -Context IdentityContext
- Onion Architecture
- EntityFramework Core
- Identity (Authentication & Authorization)
- RepositoryManager
- ServiceManager
- NPM (TailwindCSS, Autoprefixer, PostCSS)
- FlowBite (CSS addition for TailwindCSS)