- Notifications
You must be signed in to change notification settings - Fork10
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.
mkhalesi/.NET-Microservices-Sample
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
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)
- Implement Identity Server - Duenede Server
- Implement ASP.Net Identity
- SqlServer database
- Implement API Gateways with Ocelot
- Implement Authentication with JWT Bearer
- Sample microservices/containers to reroute through the API Gateways
- REST API principles, CRUD operations
- Implement Authentication with JWT Bearer
- Consuming RabbitMQ Messages
- Swagger Open API implementation
- SqlServer database
- MongoDB database connection and containerization
- REST API principles, CRUD operations
- Implement Authentication with JWT Bearer
- Consuming RabbitMQ Messages
- Swagger Open API implementation
- ASP.NET Grpc Server applicatios
- Exposing Grpc Services with creating Protobuf messages
- SqlServer database
- Redis database connection and containerization
- REST API principles, CRUD operations
- Implement Authentication with JWT Bearer
- Consuming RabbitMQ Messages
- Swagger Open API implementation
- REST API principles
- Implement Clean Architecture
- Implement Authentication with JWT Bearer
- Consuming RabbitMQ Messages
- Swagger Open API implementation
- SqlServer database
- Sync inter-service gRPC Communication
- Async Microservices Communication with RabbitMQ Message-Broker Service
- Using RabbitMQ Publish/Subscribe Topic Exchange Model
- Implement Authentication with OpenIdConnect
- Call Ocelot APIs with HttpClientFactory and RestClient
- Containerization of microservices
- Containerization of databases
- Override Environment variables
docker-compose up --build
You can launch microservices as below urls:
you can replace YourIP Address in .env file with host.docker.internal
Identity Service ->http://host.docker.internal:7018
API Gateway Admin ->http://host.docker.internal:11023
API Gateway Web ->http://host.docker.internal:10023
Product API ->http://host.docker.internal:11002/swagger/index.html
Ordering API ->http://host.docker.internal:7002/swagger/index.html
Discount API ->http://host.docker.internal:8003/swagger/index.html
Basket API ->http://host.docker.internal:6002/swagger/index.html
Payment API ->http://host.docker.internal:10002/swagger/index.html
Rabbit Management Dashboard ->http://host.docker.internal:15672 -- guest/guest
Web Frontend ->http://host.docker.internal:44328
Admin Frontend ->http://host.docker.internal:7298
kubectl apply /k8s
you can find Port or NodePort of services in k8s yaml files
- Mohammad Khalesi -Mkhalesi
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
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.