Building Microservices with .NET Core
暫譯: 使用 .NET Core 建立微服務

Gaurav Kumar Aroraa, Lalit Kale, Kanwar Manish

買這商品的人也買了...

相關主題

商品描述

Architect your .NET applications by breaking them into really small pieces-microservices-using this practical, example-based guide

About This Book

  • Start your microservices journey and understand a broader perspective of microservices development
  • Build, deploy, and test microservices using ASP.Net MVC, Web API, and Microsoft Azure Cloud
  • Get started with reactive microservices and understand the fundamentals behind it

Who This Book Is For

This book is for .NET Core developers who want to learn and understand microservices architecture and implement it in their .NET Core applications. It's ideal for developers who are completely new to microservices or have just a theoretical understanding of this architectural approach and want to gain a practical perspective in order to better manage application complexity.

What You Will Learn

  • Compare microservices with monolithic applications and SOA
  • Identify the appropriate service boundaries by mapping them to the relevant bounded contexts
  • Define the service interface and implement the APIs using ASP.NET Web API
  • Integrate the services via synchronous and asynchronous mechanisms
  • Implement microservices security using Azure Active Directory, OpenID Connect, and OAuth 2.0
  • Understand the operations and scaling of microservices in .NET Core
  • Understand the testing pyramid and implement consumer-driven contract using pact net core
  • Understand what the key features of reactive microservices are and implement them using reactive extension

In Detail

Microservices is an architectural style that promotes the development of complex applications as a suite of small services based on business capabilities. This book will help you identify the appropriate service boundaries within the business. We'll start by looking at what microservices are, and what the main characteristics are.

Moving forward, you will be introduced to real-life application scenarios, and after assessing the current issues, we will begin the journey of transforming this application by splitting it into a suite of microservices.

You will identify the service boundaries, split the application into multiple microservices, and define the service contracts. You will find out how to configure, deploy, and monitor microservices, and configure scaling to allow the application to quickly adapt to increased demand in the future.

With an introduction to the reactive microservices, you strategically gain further value to keep your code base simple, focusing on what is more important rather than the messy asynchronous calls.

Style and approach

This guide serves as a stepping stone that helps .NET Core developers in their microservices architecture. This book provides just enough theory to understand the concepts and apply the examples.

商品描述(中文翻譯)

**架構您的 .NET 應用程式,將其拆分為非常小的單元——微服務——使用這本實用的、基於範例的指南**

## 本書介紹

- 開始您的微服務之旅,了解微服務開發的更廣泛視角
- 使用 ASP.Net MVC、Web API 和 Microsoft Azure Cloud 建立、部署和測試微服務
- 開始學習反應式微服務,並理解其基本原理

## 本書適合誰

本書適合希望學習和理解微服務架構並在其 .NET Core 應用程式中實施的 .NET Core 開發人員。對於完全不熟悉微服務或僅對這種架構方法有理論理解的開發人員來說,這本書是理想的選擇,幫助他們獲得實踐視角,以更好地管理應用程式的複雜性。

## 您將學到什麼

- 將微服務與單體應用程式和 SOA 進行比較
- 通過將服務邊界映射到相關的界限上下文來識別適當的服務邊界
- 定義服務介面並使用 ASP.NET Web API 實現 API
- 通過同步和非同步機制整合服務
- 使用 Azure Active Directory、OpenID Connect 和 OAuth 2.0 實施微服務安全性
- 理解 .NET Core 中微服務的操作和擴展
- 理解測試金字塔並使用 pact net core 實施消費者驅動的合約
- 理解反應式微服務的關鍵特性並使用反應式擴展實施它們

## 詳細內容

微服務是一種架構風格,促進將複雜應用程式開發為基於業務能力的一組小型服務。本書將幫助您識別業務中的適當服務邊界。我們將首先了解微服務是什麼,以及其主要特徵。

接下來,您將接觸到現實生活中的應用場景,並在評估當前問題後,我們將開始將此應用程式轉型為一組微服務的旅程。

您將識別服務邊界,將應用程式拆分為多個微服務,並定義服務合約。您將學會如何配置、部署和監控微服務,並配置擴展以使應用程式能夠快速適應未來的需求增加。

通過介紹反應式微服務,您將戰略性地獲得進一步的價值,保持代碼庫簡單,專注於更重要的事物,而不是混亂的非同步調用。

## 風格與方法

本指南作為一個基石,幫助 .NET Core 開發人員在其微服務架構中。本書提供了足夠的理論以理解概念並應用範例。