Microservices Architecture and Implementation on .NET 5
24h 34m 13s
English
Paid
This course shows you how to build simple and clear microservices in .NET 5. You will work with Web API, Docker, RabbitMQ, MassTransit, gRPC, Ocelot, MongoDB, Redis, PostgreSQL, SQL Server, Dapper, and EF Core. You learn by building working services step by step.
What You Build
You build a small e‑commerce system. It includes Product, Basket, and Order services. You store data in MongoDB, Redis, PostgreSQL, and SQL Server. The services talk to each other through RabbitMQ and gRPC. You route calls through an Ocelot API Gateway.
Catalog Service
ASP.NET Core Web API
REST CRUD actions
MongoDB setup and containers
Repository pattern
Swagger OpenAPI
Basket Service
ASP.NET Web API
REST CRUD actions
Redis setup and containers
Call the Discount gRPC service to get final prices
Publish BasketCheckout events with MassTransit and RabbitMQ
Discount Service
ASP.NET gRPC server
Fast gRPC calls shared with the Basket service
Protobuf message design
Dapper for data access
PostgreSQL setup and containers
Service Communication
Sync calls through gRPC
Async events with RabbitMQ
Publish/Subscribe topic exchange
MassTransit for RabbitMQ work
Send BasketCheckout events to the Ordering service
Create a shared EventBus message library
Ordering Service
Apply DDD, CQRS, and Clean Architecture
CQRS with MediatR, FluentValidation, and AutoMapper
Consume BasketCheckout events with MassTransit
SQL Server setup and containers
EF Core with auto-migrations
API Gateway
Ocelot API Gateway setup
Route calls to microservice containers
Run multiple gateway or BFF types
Use the aggregator pattern in Shopping.Aggregator
WebUI Shopping App
ASP.NET Core MVC with Bootstrap and Razor
Call Ocelot through HttpClientFactory
Use Razor tools like view components, partials, helpers, and validation
Helper Tools
Portainer for simple container management
pgAdmin for PostgreSQL work
Docker Compose Setup
Containerize all services
Containerize all databases
Override environment settings
Code Quality Practices
You learn how to write clear and safe code across all layers. The course walks through a layered setup with DDD ideas. You build a structure with Core, Application, Infrastructure, and Presentation layers. You use SOLID rules, clean design patterns, dependency injection, logging, validation, and simple exception handling.
Udemy is a global online marketplace for teaching and learning. It connects students with instructors who share skills in many fields.
Who Uses Udemy
Millions of learners use Udemy to gain skills for work and personal growth. Companies, governments, and nonprofits also use Udemy to train their teams.
What Udemy Offers
Udemy provides a curated set of business and technical courses. These courses help teams build practical skills and support ongoing learning at work.
Watch Online 176 lessons
This is a demo lesson (10:00 remaining)
You can watch up to 10 minutes for free. Subscribe to unlock all 176 lessons in this course and access 10,000+ hours of premium content across all courses.