@manhng

Welcome to my blog!

Starter Kit

April 5, 2021 08:46

Starter Kit (edit)

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

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

Clean Architecture Solution Template for ASP.NET Core 5.0

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.

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.

ToastNotification

ToastNotification is a Minimal & Elegant Toast Notification Package for ASP.NET Core Web Applications that can be invoked via C#. Compatible with ASP.NET Core 3.1 and .NET 5.

https://github.com/aspnetcorehero/ToastNotification

CQRS in ASP.NET Core 5.0

Article 1: Onion Architecture In ASP.NET Core With CQRS - Detailed (codewithmukesh.com)

Source 1: GitHub - iammukeshm/OnionArchitecture: The onion architecture, introduced by Jeffrey Palermo, overcomes the issues of the layered architecture with great ease. With Onion Architecture, the game-changer is that the Domain Layer (Entities and Validation Rules that are common to the business case ) is at the Core of the Entire Application. This means higher flexibility and lesser coupling. In this approach, we can see that all the Layers are dependent only on the Core Layers.

Article 2: CQRS pattern with MediatR in ASP.NET Core 5.0 » CoreSpider

Source 2: GitHub - corespider/CQRS-pattern-with-MediatR-in-ASP.NET-Core: CQRS pattern with MediatR in ASP.NET Core

Article: CQRS and MediatR in ASP.NET Core - Code Maze (code-maze.com)

Article: A Developer's Guide to CQRS Using .NET Core and MediatR - DZone Web Dev

Article 3: .NET 5 Source Generators - MediatR - CQRS - OMG! (edument.se) (Source Code Generate - OMG)

Source 3: GitHub - edumentab/SourceGenerator-MediatR-CQRS: This is the repository for the .NET 5 Source Generators - MediatR - CQRS - OMG! blog post

Article: CQRS with MediatR in ASP.NET Core 3.1 - Ultimate Guide (codewithmukesh.com)

Article: CQRS with Mediatr and ASP.NET Core - Steve Gordon - Code with Steve (stevejgordon.co.uk)

Article: Contoso University Examples with CQRS, MediatR, AutoMapper and more (jimmybogard.com)

NuGet Gallery | Packages:

Install-Package Microsoft.EntityFrameworkCore
Install-Package Microsoft.EntityFrameworkCore.Relational
Install-Package Microsoft.EntityFrameworkCore.SqlServer
Install-Package MediatR
Install-Package MediatR.Extensions.Microsoft.DependencyInjection
Install-Package Microsoft.EntityFrameworkCore.Tools
Install-Package Swashbuckle.AspNetCore
Install-Package Swashbuckle.AspNetCore.Swagger

ASP.NET Core Web API

https://github.com/nexton-labs/net-core-api-starter

https://github.com/hylander0/WebApiSoup/

https://github.com/adnan-kamili/AspNetCore-Web-Api-Rest-Starter-Kit/

Full ASP.NET Core 3.1 LTS application with DDD, CQRS and Event Sourcing (HAY HAY HAY) - Nguyen Truc Sinh

GitHub - nguyentrucxinh/AspNetCore-DDD: Full ASP.NET Core 3.1 LTS application with DDD, CQRS and Event Sourcing

ASP.NET Core + VueJS

https://github.com/Ethan0007/aspnetcore-vue-starterkit

Go

https://github.com/qreasio/go-starter-kit

ASP.NET Core + ReactJS

https://github.com/kriasoft/aspnet-starter-kit

ASP.NET MVC 5

https://github.com/hylander0/WebApiSoup/

This is a sample Web App to practice MVC 5, EF 6, Code First, Fluent Api, SignalR, Repository Pattern, Unit Of Work Pattern (HAY)

GitHub - AhmedTarekHasan/FullStack-MVC5-MyCourseraWebApp: This is a sample Web App to practice MVC 5, EF 6, Code First, Fluent Api, SignalR, Repository Pattern, Unit Of Work Pattern

NodeJS

https://github.com/stephenjjones/nodejs-api-starter-kit

.Net Core Clean Architecture

GitHub - INNVTV/NetCore-Clean-Architecture: .Net Core starter project for clean architecture showcasing use of the CQRS pattern, MediatR and custom Middleware for cross-cutting concerns, micro-service communications with REST/OpenAPI, Swagger, Webhooks and gRPC endpoints, CosmosDB for data and Serilog for logging.

Ask me about Clean Architecture, DevOps, Scrum, Agile, .NET Core, Vue, and Angular

jasontaylordev (Jason Taylor) · GitHub

Clean Architecture With MVC

GitHub - simonbinyamin/CleanArchitectureWithMVC

ASP.NET Identity Firebase Provider

GitHub - Aguafrommars/Identity.Firebase: ASP.NET Identity Firebase Provider

Using Semantic UI with ASP.NET Core Razor Pages

GitHub - bradygmsft/semantic-ui-aspnetcore-razor: Demo of how to use Semantic UI with ASP.NET Core Razor pages.

MediatR

GitHub - jbogard/MediatR: Simple, unambitious mediator implementation in .NET

Thin Controllers with CQRS and MediatR (HAY)

Thin Controllers with CQRS and MediatR (codeopinion.com)

Domain-Driven Design specifically focussed on Command Query Responsibility Segregation (CQRS)

GitHub - MarkNijhof/Fohjin: This is a personal sand box

CQRS with Plumbing

GitHub - ToJans/Scritchy: CQRS without plumbing

A .NET core library for building fundraising applications

GitHub - alindgren/Fundraise: A .NET core library for building fundraising applications (HAY)

Starter Kit Bootstrap 4 Font Awesome 5 ESLint

GitHub - dstroot/bootstrap4-starter-kit

A Developer's Guide to CQRS Using .NET Core and MediatR

A Developer's Guide to CQRS Using .NET Core and MediatR | RUBICON (rubicon-world.com)

GitHub - rubiconba/cqrs-with-net-core-mediatr

Very simplified insurance sales system made in a microservices architecture using .NET Core (HAY)

GitHub - asc-lab/dotnetcore-microservices-poc: Very simplified insurance sales system made in a microservices architecture using .NET Core

This is an example of a very simplified insurance sales system made in a microservice architecture using:

  • .NET 5
  • Entity Framework Core
  • MediatR
  • Marten
  • Eureka
  • Ocelot
  • JWT Tokens
  • RestEase
  • RawRabbit
  • NHibernate
  • Polly
  • NEST (ElasticSearch client)
  • Dapper
  • DynamicExpresso
  • SignalR

Topics: Unit Of Work

https://github.com/topics/unit-of-work

Unit Test with MediatR Pipeline Behavior

Transaction Management With Mediator Pipelines in ASP.NET Core | by João Simões | The Startup | Medium

Using Mediator In Web API's For CQRS Pattern (c-sharpcorner.com)

MediatR Pipeline Behaviour in ASP.NET Core - Logging and Validation (codewithmukesh.com)

MediatR Pipeline Examples · Los Techies

cqrs - How to instantiate Mediatr as part of a Unit Test? - Stack Overflow

c# - Mediatr: Unit Testing behaviors/validation - Stack Overflow

c# - Unit testing validation through MediatR PipelineBehavior - Stack Overflow

c# - Dependency Scope Issues with MediatR and SimpleInjector - Stack Overflow

asp.net mvc - Command Dispatcher using Unity - Stack Overflow

C# - How to unit test async methods | MAKOLYTE

  • Moq
  • FakeItEasy
  • NSubstiutute

Categories

Recent posts