ASP.NET 5.0 (edit)
https://manhng.com/blog/starter-kit/
https://manhng.com/blog/aspnet-5/
https://github.com/aspnetcorehero/Boilerplate/
Built With:
- ASP.NET Core 5.0 MVC
- ASP.NET Core 5.0 WebAPI
- Entity Framework Core 5.0
Features Included
ASP.NET Core 5.0 MVC Project
- Slim Controllers using MediatR Library
- Permissions Management based on Role Claims
- Toast Notification (includes support for AJAX Calls too)
- Serilog
- ASP.NET Core Identity
- AdminLTE Bootstrap Template (Clean & SuperFast UI/UX)
- AJAX for CRUD (Blazing Fast load times)
- jQuery Datatables
- Select2
- Image Optimization
- Includes Sample CRUD Controllers / Views
- Active Route Tag Helper for UI
- RTL Support
- Complete Localization Support / Multilingual
- Clean Areas Implementation
- Dark Mode!
- Default Users / Roles Seeding at Startup
- Supports Audit Logging / Activity Logging for Entity Framework Core
- Automapper
ASP.NET Core 5.0 WebAPI
- JWT & Refresh Tokens
- Swagger
(will be updated soon)
Usage
Roadmap
See the open issues for a list of proposed features (and known issues).
- Add Localizers throughout the MVC Project.
- Add Arabic Translations throughout the MVC Project. You can find the Dictionary under the Resources Folder in the Web Project.
- Ensure the code quality.
Let's make this the best .NET 5 Clean Architecture Template.
How to Debug:
Tutorial Part 5, apply migrations to the Contoso University sample | Microsoft Docs
Migration in Entity Framework Core (entityframeworktutorial.net)
Entity Framework Core Migrations | Learn Entity Framework Core
You can open PowerShell in VS by doing: Tools->NuGet Package Manager->Package Manager Console
- Project: AspNetCoreHero.Boilerplate.Infrastructure (Set as Startup Project)
..\AspNetCoreHero.Boilerplate.Infrastructure\DbContexts\IdentityContext.cs
..\AspNetCoreHero.Boilerplate.Infrastructure\DbContexts\ApplicationDbContext.cs
- Package Manager Console:
PM> Enable-Migrations
PM> Add-Migration MyFirstMigration -context ApplicationDbContext
PM> Update-Database -context ApplicationDbContext
PM> Add-Migration MyFirstMigrationIdentity -context IdentityContext
PM> Update-Database -context IdentityContext