How to build .NET Microservices
summary
Practical walkthrough of building .NET microservices that uses EventStore for event sourcing, RabbitMq and Redis for messaging and read-cache, and EasyNetQ and StackExchange.Redis client libraries; shows ports-and-adapters, CQRS/command-query separation, optimistic concurrency and correlation IDs, plus a runnable (partly incomplete) GitHub sample. Demonstrates persisting events instead of state, publishing to a bus, updating denormalized read models, and deployment patterns with Docker/Docker Compose and service discovery, while calling out the trade-offs and DevOps needs.
AI-written summary · about
chapters (18)
- 0:00Intro
- 1:58OVERVIEW
- 2:39PREAMBLE
- 6:41SHINY! SHINY! SHINY! SHINY! SHINY!
- 19:41KEEP COMMUNICATION SIMPLE & GENERIC
- 21:35SYNCHRONOUS == TEMPORAL COUPLING
- 23:10IDENTIFY YOUR BUSINESS TRANSACTIONS
- 25:09SERVICE DISCOVERY
- 26:29EMBRACE DATA DUPLICATION
- 29:08DESIGN PATTERNS & COMPONENTS
- 41:47SPECIFIC SOFTWARE & LIBRARIES
- 42:49WHAT ARE THE DOMAIN CONTEXTS?
- 45:41BOUNDARIES?
- 46:33SCENE SETTING
- 52:21ADAPTERS: HTTP API
- 54:27ADAPTERS: DATABASE & MESSAGE BUS
- 58:10WHAT IS THE VERSION OF THE APP?
- 59:05HOW DO YOU UPGRADE A MICROSERVICE?
related talks
01h 11mEmbracing Messaging and Eventual Consistency in your Microservices Solutions
01h 25mBuilding microservices with event sourcing and CQRS
45mUsing modern .NET technologies to decompose a monolith into micro-services
57mUnderstanding Microservices: a guide for the monolithic developer
58mImplementing Event-driven Microservices
01h 01mMessage Brokering and Event Driven Architecture on Azure
56mDeveloping Event-driven Microservices w/Event Sourcing and CQRS
38mBuilding .NET Core Microservices with Steeltoe
