Skip to content
UdemyASP.NETPaid courseBeginner levelCertificate

.NET 8 Microservices: DDD, CQRS, Vertical/Clean Architecture (Udemy.com)

Develop Microservices on .NET 8 used ASP.NET Web API, Docker, RabbitMQ, MassTransit, gRPC, Yarp Gateway, Redis,SqlServer

Created by: Mehmet Ozkaya

Last updated May 2026

icon
What you will learn

  • ASPNET Core 8 Web API Development of Microservices
  • ASPNET Minimal APIs and latest features of .Net8 and C# 12
  • Vertical Slice Architecture implementation with Feature folders
  • CQRS implementation using MediatR library
  • CQRS Validation Pipeline Behaviours with MediatR and FluentValidation
  • Marten library for .NET Transactional Document DB on PostgreSQL
  • Carter Library for Minimal API endpoint definition
  • Using Redis as a Distributed Cache over Basketdb
  • Implements Proxy, Decorator and Cache-aside Design Patterns
  • Build a Highly Performant inter-service gRPC Communication with Basket Microservice
  • Consume Discount Grpc Service for inter-service sync communication to calculate product final price
  • Publish BasketCheckout Queue with using MassTransit and RabbitMQ
  • PostgreSQL database connection and containerization

How it compares

Against the other 116 rated Udemy courses in ASP.NET on CourseDuck:

  • Rating4.5 out of 5higher than 61% of them
  • Reviews8,457#5 of 117 by number of reviews
  • Length28.4 hourslonger than 93% of them
  • Last updatedMay 2026more recently than 93% of them

icon
Course Description

This course comes from a live github aspnetrun microservices repository which verified from community with 3000+ stars and 1600+ forks.

You will learn how to build Microservices on .Net platforms which used Asp.Net Web API, Docker, RabbitMQ, MassTransit, Grpc, Yarp API Gateway, PostgreSQL, Redis, SQLite, SqlServer, Marten, Entity Framework Core, CQRS, MediatR, DDD, Vertical and Clean Architecture implementation using latest codes and best practices of .NET 8 on cloud-native environments.

You will develop e-commerce modules over Product, Basket, Discount and Ordering microservices with NoSQL (PostgreSQL DocumentDB, Redis) and Relational databases (SQLite, Sql Server) with communicating over RabbitMQ Event Driven Communication and using Yarp API Gateway. You can find Microservices Architecture and Step by Step Implementation on .NET which step by step developing this course with extensive explanations and details.

Along with this you’ll develop following microservices and items:

Catalog microservice which includes;

  • ASP.NET Core Minimal APIs and latest features of .NET 8 and C# 12

  • Vertical Slice Architecture implementation with Feature folders

  • CQRS implementation using MediatR library

  • CQRS Validation Pipeline Behaviours with MediatR and FluentValidation

  • Marten library for .NET Transactional Document DB on PostgreSQL

  • Carter library for Minimal API endpoint definition

  • Cross-cutting concerns Logging, global Exception Handling and Health Checks

  • Dockerfile and docker-compose file for running Multi-container in Docker environment

Basket microservice which includes;

  • ASP.NET 8 Web API application, Following REST API principles, CRUD operations

  • Redis as a Distributed Cache over basketdb

  • Implements Proxy, Decorator and Cache-aside Design Patterns

  • Consume Discount gRPC Service for inter-service sync communication to calculate product final price

  • Publish BasketCheckout Queue with using MassTransit and RabbitMQ

Discount microservice which includes;

  • ASP.NET gRPC Server application

  • Build a Highly Performant inter-service gRPC Communication with Basket Microservice

  • Exposing gRPC Services with creating Protobuf messages

  • Entity Framework Core ORM - SQLite Data Provider and Migrations

  • SQLite database connection and containerization

Microservices Communication

  • Sync inter-service gRPC Communication

  • Async Microservices Communication with RabbitMQ Message-Broker Service

  • Using RabbitMQ Publish/Subscribe Topic Exchange Model

  • Using MassTransit for abstraction over RabbitMQ Message-Broker system

  • Publishing BasketCheckout event queue from Basket microservices and Subscribing this event from Ordering microservices

  • Create RabbitMQ EventBus.Messages library and add references Microservices

Ordering Microservice

  • Implementing DDD, CQRS, and Clean Architecture with using Best Practices

  • Developing CQRS with using MediatR, FluentValidation and Mapster packages

  • Use Domain Events & Integration Events

  • Entity Framework Core Code-First Approach, Migrations, DDD Entity Configurations

  • Consuming RabbitMQ BasketCheckout event queue with using MassTransit-RabbitMQ Configuration

  • SqlServer database connection and containerization

  • Using Entity Framework Core ORM and auto migrate to SqlServer when application startup

Yarp API Gateway Microservice

  • Implement API Gateways with Yarp Reverse Proxy applying Gateway Routing Pattern

  • Yarp Reverse Proxy Configuration; Route, Cluster, Path, Transform, Destinations

  • Rate Limiting with FixedWindowLimiter on Yarp Reverse Proxy Configuration

  • Sample microservices/containers to reroute through the API Gateways

WebUI ShoppingApp Microservice

  • ASP.NET Core Web Application with Bootstrap 4 and Razor template

  • Consume YarpApiGateway APIs using Refit Library with Generated HttpClientFactory

  • ASPNET Core Razor Tools — View Components, partial Views, Tag Helpers, Model Bindings and Validations, Razor Sections etc.

Docker Compose establishment with all microservices on docker;

  • Containerization of microservices

  • Orchestrating of microservices and backing services (databases, distributed caches, message brokers..)

  • Override Environment variables

icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

Mehmet Ozkaya

I have been 15+ years working experience on Software Development Industry as a Software/Solutions Architect positions at global companies.

Focused on AI Agents, GenAI and Microservices Architectures on .NET, AWS  and Azure ecosystems.

Developed agentic systems, genai and microservices repositories on GitHub and create Udemy courses from real-world applications.

Also create courses about Designing Agentic AI Software Architectures for Cloud-Native and Serverless Event-driven Microservices.

I have regularly develop on GitHub, blog on Medium.


GitHub : mehmetozkaya

icon
More courses by Mehmet Ozkaya

$69.99

$12.99

$10.99

$13.99

$12.99

$79.99

icon
More ASP.NET courses

$74.99

$69.99

$84.99

$14.99

$69.99

$10.99

icon
Reviews

4.5

8,457 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

By Hammath Muneerul Huda on 5/22/2026

Thank you for creating this course and sharing your knowledge. I appreciate the interesting topics you covered and the code examples — those parts were helpful. I also wanted to share some constructive feedback in case it’s useful: Some slides look cluttered and could be simplified for clarity. Your verbal explanations sometimes sounded like reading from the slides rather than teaching the concepts, which made it hard to follow. I had trouble understanding some ideas from the narration alone. Seeing the code helped clarify parts of the lesson, but overall the course didn’t fully meet my expectations for clear, step-by-step explanations. I hope this is helpful — I value your effort and believe a few changes could make the course much stronger. Thank you again,

By Kwabena Gyampo on 4/29/2026

Halfway through the course, and I must say, I'm quite impressed. I'm learning enterprise-level stuff over here. The most amazing part is the "Role Play" part of certain sections. You having to justify or explain your selection of certain patterns, principles and the like to a manager of sorts forces you to have t pay attention to what's going on, understand it so you can flow easily in your explanation. Generally helps everything stick better. The rest (code) generally require experience in the programming language (C#), the better you are in the language, the better you understand how things are working under the hood. This has truly been enlightening. It's been 3 months now since I studied C# and I've had to level up to close to intermediate level programming in the language. Doing things the hard way sometimes just works.

By Susheel on 4/8/2026

Vary good training. Just make it short if skip repeating the things but for me it is 100%. I learn a lot I will subscribe other training also of him because he is explaing everything. Thanks to him..

By Esraa Ramadan on 2/12/2026

The course is extremely comprehensive and precise in every detail. The explanations are clear, well-structured, and leave no gaps. What truly sets it apart is the in-depth implementation of a complex real-world project, explained step by step with full clarity. This level of practical detail is rarely found .Truly professional work and highly valuable content.

By Luiz Rosa on 2/9/2026

O professor tem muito conhecimento, mas acho que poderia ensinar, como fazer instalação do docker, rabbitMQ, o post, além disso, o curso todo o professor passou muito rápido a implementação do projeto.

By Mohamed Sithick Ansar Ameer Ali on 2/5/2026

I notice that architectures and design patterns are often selected without explaining the reasoning behind them. It would be great if the course could also cover why a specific approach is chosen, what requirements or concerns are considered, and how to decide when and what to choose in real-world scenarios. Apart from this, I found the course to be very useful and informative.

By Guilherme da Costa de Albuquerque on 1/4/2026

It's truly a masterclass. It provided an excellent opportunity to revisit concepts I was already familiar with, while simultaneously allowing me to deepen my understanding and acquire new knowledge. Can't wait for next Mehmet's courses !?

By Bassem.Badr on 12/30/2025

This was such an amazing course that i learnt a lot from it was really organized and well structured and i really enjoyed implementing step by step through the course and the AI Quiz during the course were really great addition that made me revise the need to add each feature and methodology. Thank you so much.

By Oluwatobi Akinseye on 12/30/2025

Thank you. For me this was a practical in-depth course on building microservices with .net. I was able to follow along all sections and demonstrate accordingly. Great job

By Raza Qureshi on 11/23/2025

Very simple and clean approach to teach everything hands-on step by step. Highly recommended course for Microservices learning journey for any one beginner to senior developer.

By Santhosh Kumar on 11/21/2020

amazing content and very well explained.
Thank you

By Shadab on 11/7/2020

good

Showing 12 of 91 reviews

icon
Quality Score

No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 90 / 100