Awesome Open Source
Awesome Open Source


This is a solution template for Clean Architecture implementation with ASP.NET Core


Give a Star!

If you like or are using this project to learn or start your solution, please give it a star. Thanks!

Technologies used:

  • ASP.NET Core
  • Entity Framework Core
  • MediatR
  • Swagger
  • Redis (for distributed caching)
  • Jwt Token Authentication
  • Custom Asp.Net Identity
  • Api Versioning
  • FluentValidation
  • PolyCache (for caching)
  • Serilog
  • Elasticsearch (for writing Logs)
  • AutoMapper
  • Docker

Software Development Best Practices and Design Principles used:

  • Clean Architecture
  • Clean Code
  • CQRS
  • Authentication and Authorization
  • Distributed caching
  • Solid Principles
  • Separate ReadOnly and Write DbContext
  • Separate ReadOnly and Write Repository
  • REST API Naming Conventions
  • Use multiple environments in ASP.NET Core (Development,Production,Staging,etc)
  • Modular Design
  • Custom Exceptions
  • Custom Exception Handling
  • PipelineBehavior for Validation and Performance tracking.

For Database Migration:


Set default project to Persistence


Run following code in Package Manager Console

> Update-Database -Context AppDbContext

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
C Sharp (276,133
Rest Api (7,976
Redis (6,659
Docker Compose (6,363
Elasticsearch (3,762
Asp Net Core (3,650
Clean Architecture (1,688
Jwt Authentication (1,408
Cqrs (994
Clean Code (685
Identity (649
Swagger Ui (611
Jwt Token (553
Efcore (357
Serilog (226
Mediatr (160
Redis Cache (155
Related Projects