Microservices in .NET Core: with examples in 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

商品描述(中文翻譯)


摘要

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

購買印刷版書籍將包括一本免費的電子書,格式為PDF、Kindle和ePub,來自Manning Publications。

關於技術

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

關於本書

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

內容簡介

 


  • 設計強大且適合運營的服務

  • 使用Nancy構建HTTP API

  • 通過Nancy公開事件

  • 使用OWIN中間件進行基礎代碼

讀者對象

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

作者簡介

Christian Horsdal Gammelgaard是Nancy的貢獻者和Microsoft MVP。

目錄

 

第1部分 - 開始使用微服務

第2部分 - 構建微服務

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

第4部分 - 構建應用程序


  1. 微服務概述

  2. 基本購物車微服務

  3. 識別和範圍微服務

  4. 微服務協作

  5. 數據擁有權和數據存儲

  6. 設計強健性

  7. 為微服務編寫測試

  8. 介紹OWIN:編寫和測試OWIN中間件

  9. 橫切關注點:監控和日誌記錄

  10. 保護微服務間的通信

  11. 構建可重用的微服務平台

  12. 在微服務上創建應用程序