Skip to content

Complete solution template which is built on Clean Architecture with all essential feature, CI/CD, best practice, testing Strategy using the testing pyramid and documentation using .NET 5!

License

Notifications You must be signed in to change notification settings

rawgerjmz/Clean-Architecture-ASP.NET-Core

 
 

Repository files navigation

.NET Core

Complete solution for Clean architecture using .NET Core


Logo

Clean Architecture

Complete solution template which is built on Clean Architecture with all essential feature using .NET Core!
Explore the docs »

Download from Marketplace · Report Bug · Request Feature

Give a Star! ⭐

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

Support This Project

If you have found this project helpful, either as a library that you use or as a learning tool, please consider buying me a coffee:

Buy Me A Coffee

Clean Architecture

Clean Architecture was introduced by by Robert C. Martin (Uncle Bob) to provide a better way to build applications in perspective of better testability, maintainability, and dependability on the infrastructures like databases and services

Domain in center and building layer top of it. You can call it as Domain-centric Architecture too.

Though layer architectures like onion, Hexagonal all vary somewhat in their details, they are very similar. All DDD approach have the same objective, which is the separation of concerns.

Reference

About The Project

This project provides complete solution which is built on Clean Architecture with all essentia, feature CI/CD, best practice, testing Strategy using .NET Core.

image

Technology stack

Architecture Pattern

Design Pattern

  • CQRS design pattern
  • Decorator design pattern
  • Mediator design pattern
  • Repository design pattern
  • Unit of work
  • Factory design pattern

Backend

  • Language: C#
  • Framework: dotnet core 5, ASP.NET Core

UI

  • Blazor

Database

  • MS SQL and Inmemory DB
  • DB Connectivity : Entityframework Core - Code First

Cloud server

  • Azure (deployment script)

Service

  • Web API (Restful service)
  • gRPC
  • Graphql

Feature

  • Dataseeding
  • Custom Exceptionn Handler
  • Automapper
  • Fluent validation
  • Serilog
  • Swagger UI
  • Advanced Pagination
  • API Versioning
  • User Auditing
  • Mailkit (Mail service)
  • Hangfire
  • Miniprofiler
  • Enabling CORS with CustomPolicy

Authentication

  • JWT Authentication

Monitoring tool

  • Health check UI
  • Kibana dashboard

Testing

  • Unit testing (Nunit)
  • Integration testing

Caching

  • Inmemory Caching
  • Distributed Redis Caching

CI/CD

  • Task runner: .Net core and CircleCI
  • Coverage report: Sonarcloud.io
  • Quality report: Codacy
  • Docker image and Kubernate
  • Cloud server: Azure for cloud

Documentation

  • Conventional commit - commit and commit message
  • Docsify

Licence Used

GitHub license

See the contents of the LICENSE file for details

Contact

Having any issues or troubles getting started? Drop a mail to [email protected] or Raise a Bug or Feature Request. Always happy to help.

About

Complete solution template which is built on Clean Architecture with all essential feature, CI/CD, best practice, testing Strategy using the testing pyramid and documentation using .NET 5!

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 93.2%
  • HTML 4.2%
  • CSS 2.5%
  • PowerShell 0.1%