Learn how to design, build, test, deploy, and monitor microservices using .NET 10.
Microservices is a pattern of separating software into small, reusable components to solve specific problems. Each microservice can be independently built, deployed, and scaled. This pattern provides enterprise grade durability and scale to meet complex business goals and customer needs in enterprise systems. While the return is valuable and the concept straightforward, applying it to an enterprise development effort is far more complicated. Where do you start? How do you find the seams between the components? And once you have all the services, how do you deploy and scale them to meet the durability and performance needs of the organization?
Pro Microservices in .NET 10 will introduce you to all that and more. The authors get you started with an overview of microservices and other development patterns, event storming, domain-driven design, and the options for developing in ASP.NET. You will use that foundational information to build a reference application throughout the book, exploring both synchronous messaging with HTTP, gRPC, and asynchronous messaging with a service bus. From there, you will create your first microservice using C# and .NET 10, test it using unit and integration tests, and package it into a Docker container. You ll deploy the container to various Azure services including Kubernetes, Azure Container Apps, App Service, Azure Functions, and KEDA. You will also learn about communication styles, decentralizing data, and testing microservices. Finally, you will learn how to keep services healthy using OpenTelemetry for logging, Aspire for local development, and Azure Application Insights for production.
What You Will Learn
Build a foundation of basic microservices architecture designFollow an example of using event storming and
Microservices is a pattern of separating software into small, reusable components to solve specific problems. Each microservice can be independently built, deployed, and scaled. This pattern provides enterprise grade durability and scale to meet complex business goals and customer needs in enterprise systems. While the return is valuable and the concept straightforward, applying it to an enterprise development effort is far more complicated. Where do you start? How do you find the seams between the components? And once you have all the services, how do you deploy and scale them to meet the durability and performance needs of the organization?
Pro Microservices in .NET 10 will introduce you to all that and more. The authors get you started with an overview of microservices and other development patterns, event storming, domain-driven design, and the options for developing in ASP.NET. You will use that foundational information to build a reference application throughout the book, exploring both synchronous messaging with HTTP, gRPC, and asynchronous messaging with a service bus. From there, you will create your first microservice using C# and .NET 10, test it using unit and integration tests, and package it into a Docker container. You ll deploy the container to various Azure services including Kubernetes, Azure Container Apps, App Service, Azure Functions, and KEDA. You will also learn about communication styles, decentralizing data, and testing microservices. Finally, you will learn how to keep services healthy using OpenTelemetry for logging, Aspire for local development, and Azure Application Insights for production.
What You Will Learn
Build a foundation of basic microservices architecture designFollow an example of using event storming and