-
Book Overview & Buying
-
Table Of Contents
Microservices Design Patterns in .NET - Second Edition
By :
Microservices thrive in the cloud environment, benefiting from its elasticity, global accessibility, and managed services, which complement their decentralized architecture. In Chapters 14, 15, and 16, we explored various hosting strategies, including containerized applications with Kubernetes, Azure Functions, and Aspire orchestration.
Containers provide portability and consistency. Packaging our Appointment Service into a Docker image guarantees that the same artifact runs seamlessly across development, staging, and production environments without configuration drift. Kubernetes enhances this setup by orchestrating these containers: it scales services based on demand, performs rolling updates, and automatically recovers failed Pods.
Yet Kubernetes introduces its own complexity. That is why serverless is so compelling for specific workloads. In Anchor 4, Serverless Microservices Development, we saw how Azure Functions enabled us to build an...