ataberkdag / DistributedTracing

Net 6 Distributed Tracing sample with PostgreSQL, HttpClient, MassTransit and Redis.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DistributedTracing

.Net 6 Distributed Tracing sample with PostgreSQL, HttpClient, MassTransit and Redis.

alt text

alt text

Services

OrderAPI

Calls Report.API and sends OrderPlaced event.

  • CQRS implementation.
  • Repository and UnitOfWork pattern implementations.
  • RabbitMq with MassTransit.
  • PostgreSQL

StockAPI

Consumes OrderPlaced event. Checks over Redis.

  • Redis
  • RabbitMQ with MassTransit

Run with Docker (Does not include OrderAPI, StockAPI and ReportAPI)

docker-compose -f docker-compose.yml up -d

Migration

To apply migrations follow this command on Package Manager Console for Order Microservice. (Set starting project to API and set default project to Infrastructure on Package Manager Console)

update-database

About

Net 6 Distributed Tracing sample with PostgreSQL, HttpClient, MassTransit and Redis.

License:MIT License


Languages

Language:C# 96.5%Language:Dockerfile 3.5%