Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Microservices on .Net platforms which used Asp.Net Web API, Docker, Kubernetes, RabbitMQ, MassTransit, Grpc, Ocelot API Gateway, MongoDB, Redis, SqlServer, Dapper, Entity Framework Core, CQRS and Clean Architecture implementation, Azure Pipelines, Azure Devops, AKS, ACR, Docker-Compose.

NotificationsYou must be signed in to change notification settings

mkhalesi/.NET-Microservices-Sample

Repository files navigation

There is a couple of microservices which implemented e-commerce modules overPayment,Product,Basket,Discount,Ordering andIdentity microservices withNoSQL (MongoDB, Redis) andRelational databases (Sql Server) withcommunicating overRabbitMQ Event Driven Communication and usingOcelot API Gateway.

Deploying .Net Microservices into Kubernetes and moving deployments to the cloudAzure Kubernetes Services (AKS) with usingAzure Container Registry (ACR)


Whats Including In This Repository

Identity microservice which includes:

  • Implement Identity Server - Duenede Server
  • Implement ASP.Net Identity
  • SqlServer database

API Gateway Web & Admin Microservice which includes:

  • Implement API Gateways with Ocelot
  • Implement Authentication with JWT Bearer
  • Sample microservices/containers to reroute through the API Gateways

Product Microservice which includes:

  • REST API principles, CRUD operations
  • Implement Authentication with JWT Bearer
  • Consuming RabbitMQ Messages
  • Swagger Open API implementation
  • SqlServer database

Ordering Microservice which includes:

  • MongoDB database connection and containerization
  • REST API principles, CRUD operations
  • Implement Authentication with JWT Bearer
  • Consuming RabbitMQ Messages
  • Swagger Open API implementation

Discount Microservice which includes:

  • ASP.NET Grpc Server applicatios
  • Exposing Grpc Services with creating Protobuf messages
  • SqlServer database

Basket Microservice which includes:

  • Redis database connection and containerization
  • REST API principles, CRUD operations
  • Implement Authentication with JWT Bearer
  • Consuming RabbitMQ Messages
  • Swagger Open API implementation

Payment Microservice which includes:

  • REST API principles
  • Implement Clean Architecture
  • Implement Authentication with JWT Bearer
  • Consuming RabbitMQ Messages
  • Swagger Open API implementation
  • SqlServer database

Microservices Communication :

  • Sync inter-service gRPC Communication
  • Async Microservices Communication with RabbitMQ Message-Broker Service
  • Using RabbitMQ Publish/Subscribe Topic Exchange Model

Web & Admin Frontend Microservice :

  • Implement Authentication with OpenIdConnect
  • Call Ocelot APIs with HttpClientFactory and RestClient

Docker Compose establishment with all microservices on docker :

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

Installing

docker-compose up --build

You can launch microservices as below urls:

you can replace YourIP Address in .env file with host.docker.internal

Apply Kubernetes clusters with command:

kubectl apply /k8s

you can find Port or NodePort of services in k8s yaml files

Currently working on Deploy to Azure Kubernetes Services through CI/CD Azure Pipelines


Authors

About

Microservices on .Net platforms which used Asp.Net Web API, Docker, Kubernetes, RabbitMQ, MassTransit, Grpc, Ocelot API Gateway, MongoDB, Redis, SqlServer, Dapper, Entity Framework Core, CQRS and Clean Architecture implementation, Azure Pipelines, Azure Devops, AKS, ACR, Docker-Compose.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp