<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; line-height: normal;"><span lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN;">Learn how to design, build, test, deploy, and monitor microservices using .NET 10.</span></p><p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; line-height: normal;"><span lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN;">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?</span></p><p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; line-height: normal;"><strong><em><span lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN;">Pro Microservices in .NET 10</span></em></strong><strong><span lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN;">&#xa0;</span></strong><span lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN;">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.</span></p><p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; line-height: normal;"><strong><span lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN;">What You Will Learn</span></strong></p><ul type="disc"><li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; line-height: normal; mso-list: l0 level1 lfo1; tab-stops: list .5in;"><span lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN;">Build a foundation of basic microservices architecture design</span></li><li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; line-height: normal; mso-list: l0 level1 lfo1; tab-stops: list .5in;"><span lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN;">Follow an example of using event storming and domain-driven design to understand the monolithic application modified for microservices</span></li><li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; line-height: normal; mso-list: l0 level1 lfo1; tab-stops: list .5in;"><span lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN;">Learn about ASP.NET hosting options including MVC, Razor Pages, Web API, and Minimal APIs</span></li><li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; line-height: normal; mso-list: l0 level1 lfo1; tab-stops: list .5in;"><span lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN;">Call microservices using RPC and messaging communication styles via HTTP and gRPC</span></li><li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; line-height: normal; mso-list: l0 level1 lfo1; tab-stops: list .5in;"><span lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN;">Learn about asynchronous communication using an enterprise service bus</span></li><li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; line-height: normal; mso-list: l0 level1 lfo1; tab-stops: list .5in;"><span lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN;">Comprehend decentralizing data and handling distributed transactions</span></li><li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; line-height: normal; mso-list: l0 level1 lfo1; tab-stops: list .5in;"><span lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN;">Understand via detailed commands how Docker is used to containerize applications</span></li><li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; line-height: normal; mso-list: l0 level1 lfo1; tab-stops: list .5in;"><span lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN;">Learn to deploy microservices to Kubernetes, Azure Container Apps, App Services, and Azure Functions</span></li><li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; line-height: normal; mso-list: l0 level1 lfo1; tab-stops: list .5in;"><span lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN;">Leverage OpenTelemetry to make your microservices more robust</span></li></ul><p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; line-height: normal;"><strong><span lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN;">Who This Book Is For</span></strong></p><p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; line-height: normal;"><span lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN;">This book is for professional developers and software architects looking to level up their skills. Readers should have basic familiarity with Visual Studio or VS Code and experience with .NET, ASP.NET Core, and C#.</span></p><p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; line-height: normal;"><strong><span lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN;">New to This Edition</span></strong></p><p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; line-height: normal;"><span lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN;">In this new and updated volume, the authors explore new features from .NET 10 and C# 14 that launched in November 2025, making it easier than ever to design, architect, build, test, and deploy microservices. These enhancements include testing patterns, Docker, Kubernetes, Azure deployment, YARP, and Aspire.</span></p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Pro Microservices in .NET 10

  • Sean Whitesell,
  • Rob Richardson

摘要

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 design
  • Follow an example of using event storming and domain-driven design to understand the monolithic application modified for microservices
  • Learn about ASP.NET hosting options including MVC, Razor Pages, Web API, and Minimal APIs
  • Call microservices using RPC and messaging communication styles via HTTP and gRPC
  • Learn about asynchronous communication using an enterprise service bus
  • Comprehend decentralizing data and handling distributed transactions
  • Understand via detailed commands how Docker is used to containerize applications
  • Learn to deploy microservices to Kubernetes, Azure Container Apps, App Services, and Azure Functions
  • Leverage OpenTelemetry to make your microservices more robust

Who This Book Is For

This book is for professional developers and software architects looking to level up their skills. Readers should have basic familiarity with Visual Studio or VS Code and experience with .NET, ASP.NET Core, and C#.

New to This Edition

In this new and updated volume, the authors explore new features from .NET 10 and C# 14 that launched in November 2025, making it easier than ever to design, architect, build, test, and deploy microservices. These enhancements include testing patterns, Docker, Kubernetes, Azure deployment, YARP, and Aspire.