Microservices in .NET Core: with examples in NancyFX
內容描述
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 servicesBuild HTTP APIs with NancyExpose events via feeds with NancyUse 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 MICROSERVICESMicroservices at a glance A basic shopping cart microservicePART 2 - BUILDING MICROSERVICESIdentifying and scoping microservicesMicroservice collaborationData ownership and data storageDesigning for robustnessWriting tests for microservicesPART 3 - HANDLING CROSS-CUTTING CONCERNS: BUILDINGA REUSABLE MICROSERVICE PLATFORMIntroducing OWIN: writing and testing OWINmiddlewareCross-cutting concerns: monitoring and loggingSecuring microservice-to-microservicecommunicationBuilding a reusable microservice platformPART 4 - BUILDING APPLICATIONSCreating applications over microservices