@manhng

Welcome to my blog!

ASP.NET 5.0

May 4, 2021 15:10

ASP.NET 5.0 (edit)

https://manhng.com/blog/starter-kit/

https://manhng.com/blog/aspnet-5/

GitHub - aspnetcorehero/Boilerplate: Clean Architecture Solution Template for ASP.NET Core 5.0. Built with Onion/Hexagonal Architecture and incorporates the most essential Packages your projects will ever need. Includes both WebApi and Web(MVC) Projects.

https://github.com/aspnetcorehero/Boilerplate/

Built With:

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

ASP.NET 5 and Office UI Fabric

April 28, 2021 15:39

ASP.NET 5 and Office UI Fabric (edit)

Tobias Zimmergren's thoughts on tech

Bootstrap (and https://adminlte.io/)

Free Bootstrap Admin Template | AdminLTE.IO

GitHub - OfficeDev/office-ui-fabric-core: The front-end CSS framework for building experiences for Office and Microsoft 365.

Simple app layout with Office UI Fabric React | by Guzman Monne | Medium

GitHub - guzmonne/office-ui-layout: Simple app layout using Office UI Fabric and React.

Categories

Recent posts