Microservices in .NET Core: with examples in NancyFX
暫譯: .NET Core中的微服務:以NancyFX為例

Christian Horsdal

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

商品描述

Summary

Microservices in .NET Core provides a complete guide to building microservice applications. After a crystal-clear introduction to the microservices architectural style, the book will teach you practical development skills in that style, using OWIN and Nancy.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Microservice applications are built by connecting single-capability, autonomous components that communicate via APIs. These systems can be challenging to develop because they demand clearly defined interfaces and reliable infrastructure. Fortunately for .NET developers, OWIN (the Open Web Interface for .NET), and the Nancy web framework help minimize plumbing code and simplify the task of building microservice-based applications.

About the Book

Microservices in .NET Core provides a complete guide to building microservice applications. After a crystal-clear introduction to the microservices architectural style, the book will teach you practical development skills in that style, using OWIN and Nancy. You'll design and build individual services in C# and learn how to compose them into a simple but functional application back end. Along the way, you'll address production and operations concerns like monitoring, logging, and security.

What's Inside

 

  • Design robust and ops-friendly services
  • Build HTTP APIs with Nancy
  • Expose events via feeds with Nancy
  • Use OWIN middleware for plumbing

About the Reader

This book is written for C# developers. No previous experience with microservices required.

About the Author

Christian Horsdal Gammelgaard is a Nancy committer and a Microsoft MVP.

Table of Contents

 

PART 1 - GETTING STARTED WITH MICROSERVICES

PART 2 - BUILDING MICROSERVICES

PART 3 - HANDLING CROSS-CUTTING CONCERNS: BUILDINGA REUSABLE MICROSERVICE PLATFORM

PART 4 - BUILDING APPLICATIONS

  1. Microservices at a glance
  2. A basic shopping cart microservice
  3. Identifying and scoping microservices
  4. Microservice collaboration
  5. Data ownership and data storage
  6. Designing for robustness
  7. Writing tests for microservices
  8. Introducing OWIN: writing and testing OWINmiddleware
  9. Cross-cutting concerns: monitoring and logging
  10. Securing microservice-to-microservicecommunicatio​n
  11. Building a reusable microservice platform
  12. Creating applications over microservices

商品描述(中文翻譯)

**摘要**

《Microservices in .NET Core》提供了構建微服務應用程序的完整指南。在對微服務架構風格進行清晰的介紹後,本書將教您使用OWIN和Nancy在該風格中實踐開發技能。

購買印刷版書籍可獲得Manning Publications提供的免費電子書,格式包括PDF、Kindle和ePub。

**關於技術**

微服務應用程序是通過連接單一功能、自主組件來構建的,這些組件通過API進行通信。這些系統的開發可能具有挑戰性,因為它們需要明確定義的接口和可靠的基礎設施。對於.NET開發人員來說,OWIN(.NET的開放網絡接口)和Nancy網絡框架有助於最小化管道代碼,簡化基於微服務的應用程序的構建任務。

**關於本書**

《Microservices in .NET Core》提供了構建微服務應用程序的完整指南。在對微服務架構風格進行清晰的介紹後,本書將教您使用OWIN和Nancy在該風格中實踐開發技能。您將在C#中設計和構建個別服務,並學習如何將它們組合成一個簡單但功能完整的應用程序後端。在此過程中,您將處理生產和運營方面的問題,如監控、日誌記錄和安全性。

**內容概覽**

- 設計穩健且適合運營的服務
- 使用Nancy構建HTTP API
- 通過Nancy的餵送暴露事件
- 使用OWIN中介軟體進行管道處理

**讀者對象**

本書是為C#開發人員撰寫的。無需具備微服務的先前經驗。

**作者介紹**

**Christian Horsdal Gammelgaard** 是Nancy的提交者和微軟MVP。

**目錄**

**第一部分 - 微服務入門**

**第二部分 - 構建微服務**

**第三部分 - 處理跨切關注點:構建可重用的微服務平台**

**第四部分 - 構建應用程序**

1. 微服務概覽
2. 基本的購物車微服務
3. 確定和範圍微服務
4. 微服務協作
5. 數據擁有權和數據存儲
6. 設計穩健性
7. 為微服務編寫測試
8. 介紹OWIN:編寫和測試OWIN中介軟體
9. 跨切關注點:監控和日誌記錄
10. 確保微服務之間的通信安全
11. 構建可重用的微服務平台
12. 在微服務上創建應用程序