Giter Club home page Giter Club logo

dotnet-microservices's Introduction

Distributed Bank

This project is a sample of microservices architecture with .NET 8. You can see the overall picture below here;

samplebank

Whats Including

Customer microservice

  • ASP.NET Core Web API application and gRPC Server application
  • REST API principles, CRUD operations
  • Implementing DDD, CQRS, and Clean Architecture using best practices
  • Build a highly performant inter-service gRPC communication
  • Developing CQRS using MediatR, FluentValidation, and AutoMapper libraries
  • PostgreSQL database connection and containerization
  • Using Entity Framework Core ORM and auto migrate to SQL Server when application run
  • Swagger Open API implementation

Account Microservice

  • ASP.NET Core Web API application
  • REST API principles, CRUD operations
  • Implementing DDD, CQRS, and Clean Architecture using best practices
  • Publish Account's transactions using MassTransit and RabbitMQ
  • Consume Customer gRPC Service for inter-service communication
  • Developing CQRS using MediatR, FluentValidation, and AutoMapper libraries
  • PostgreSQL database connection and containerization
  • Using Entity Framework Core ORM and auto migrate to SQL Server when application run
  • Swagger Open API implementation

Transaction Microservice

  • ASP.NET Core Web API application
  • REST API principles, CRUD operations
  • Repository Pattern Implementation
  • Consume Account's transactions using MassTransit and RabbitMQ
  • MongoDB database connection and containerization
  • Swagger Open API implementation

API Gateway Ocelot Microservice

  • Implement API Gateways with Ocelot
  • Sample microservices/containers to reroute through the API Gateways
  • Run multiple different API Gateway/BFF container types

Microservices Cross-Cutting Implementations

  • Implementing Centralized Distributed Logging with Elastic Stack (ELK); Elasticsearch, Logstash, Kibana and SeriLog for Microservices
  • Use the HealthChecks feature in back-end ASP.NET microservices

Microservices Resilience Implementations

  • Making Microservices more resilient Use IHttpClientFactory to implement resilient HTTP requests
  • Implement Retry and Circuit Breaker patterns with exponential backoff with IHttpClientFactory and Polly policies

Helper Containers

  • Use Portainer for Container lightweight management UI which allows you to easily manage your different Docker environments
  • pgAdmin PostgreSQL Tools feature rich Open Source administration and development platform for PostgreSQL

Docker Compose establishment with all microservices on docker;

  • Containerization of microservices
  • Containerization of databases
  • Override Environment variables

dotnet-microservices's People

Contributors

alperenkucukali avatar

Stargazers

 avatar

Watchers

 avatar

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.