-
Book Overview & Buying
-
Table Of Contents
.NET 8 Microservices - DDD, CQRS, Vertical/Clean Architecture
By :
.NET 8 Microservices - DDD, CQRS, Vertical/Clean Architecture
By:
Overview of this book
This comprehensive course takes you through the journey of building microservices with .NET 8, starting from core concepts and architectural patterns. You’ll explore foundational topics like DDD and CQRS, advancing to Clean and Vertical Slice Architecture, with practical coding demonstrations and real-world applications. The course emphasizes modular, scalable development using modern .NET practices.
Gain in-depth knowledge of integrating .NET 8 with tools and frameworks such as Docker, RabbitMQ, gRPC, and Redis to build robust microservices ecosystems. From database management using PostgreSQL and Marten to handling synchronous and asynchronous communication patterns, you’ll learn the essential components of a production-ready microservices application.
Designed for hands-on learning, this course includes setting up API gateways with YARP, deploying shopping web clients, and orchestrating containerized services with Docker Compose. By the end, you’ll have the skills to design efficient, scalable, and resilient microservices.
Table of Contents (21 chapters)
Course Introduction
What are Microservices?
Why .NET and What is new .NET 8 and C# 12?
ASP.NET 8 for Microservice Development: Minimal APIs, DI, Routing, and Docker
First Microservice: Catalog.API with Vertical Slice Architecture and CQRS
Develop Catalog.API Infrastructure, Handler, and Endpoint Classes for CRUD
Develop Catalog.API Cross-Cutting Concerns
Basket Microservices with Vertical Slice Architecture and CQRS
Basket Microservices Apply Distributed Caching with Redis
Microservices Synchronous Communications with gRPC
Discount.Grpc Microservices for Microservices gRPC Communication
Consuming Discount gRPC Service From Basket Microservice When Adding Cart Item
Ordering Microservices with DDD, CQRS, and Clean Architecture
Ordering.Domain Layer with Tactical Domain-Driven Design Patterns
Ordering.Infrastructure Layer with EF Core Code First and SQL Server
Ordering.Application Layer with CQRS and MediatR
Ordering.API Layer Exposing Minimal API Endpoints with Carter and REPR Pattern
Microservices Async Communication with RabbitMQ & MassTransit for Checkout Order
Building API Gateways with YARP Reverse Proxy Applying Gateway Routing Pattern
Building Shopping Web Client Application with Refit HttpClientFactory Library
Thanks