Git Product home page Git Product logo

asp.net-core-clean-architecture-cqrs-event-sourcing's Introduction

ASP.NET Core C# CQRS Event Sourcing, REST API, DDD, SOLID Principles and Clean Architecture

Build SonarCloud CodeQL DevSkim License

Lines of Code Coverage Maintainability Rating Security Rating Vulnerabilities Bugs Code Smells

Sparkline

About the repoitory: Open source project written in the latest version of ASP.NET Core, implementing the concepts of S.O.L.I.D, Clean Code, CQRS (Command Query Responsibility Segregation)

Give it a star! ⭐

If you liked this project, learned something, give it a star. Thank you!

Technologies

  • ASP.NET Core 8
  • Entity Framework Core 8
  • Unit & Integration Tests + xUnit + FluentAssertions
  • Polly
  • AutoMapper
  • FluentValidator
  • MediatR
  • Swagger UI
  • HealthChecks
  • SQL Server
  • MongoDB
  • Redis (Cache)
  • Docker & Docker Compose

Architecture

CQRS Pattern

  • Full architecture with responsibility separation concerns, SOLID and Clean Code
  • Domain Driven Design (Layers and Domain Model Pattern)
  • Domain Events
  • Domain Notification
  • Domain Validations
  • CQRS
  • Event Sourcing
  • Unit of Work
  • Repository Pattern
  • Resut Pattern

Running the application

After cloning the repository to the desired folder, run the command in the terminal at the root of the project:

dotnet clean Shop.sln --nologo /tl && dotnet build Shop.sln --nologo /tl

Next step, run the command in the terminal:

docker-compose up --build --abort-on-container-exit --remove-orphans

Now just open the url in the browser:

http://localhost:5072/swagger/

MiniProfiler for .NET

To access the page with the performance indicators and performance:

http://localhost:5072/profiler/results-index

License

asp.net-core-clean-architecture-cqrs-event-sourcing's People

Contributors

dependabot[bot] avatar jeangatto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

asp.net-core-clean-architecture-cqrs-event-sourcing's Issues

Main Folder

Hey, i am learning .Net. How can i resolve this issue
image

Blog Intro?

When I saw this project, I really praised it.
Do you have Blog or Article to intro you arch ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.