Hands-On Microservices with C# 8 and .NET Core 3.0,3rd Edition
by: Edward Price,Gaurav Aroraa
Pages: 451 pages
Edition 版本: 3
Language 语言: English
Publisher finelybook 出版社: Packt Publishing
Released: 2020-03-10
ISBN-10: 1789617944
ISBN-13: 9781789617948
Book Description
Discover how to apply microservices patterns to build scalable and maintainable distributed systems
Key Features
Design,implement,test,and deploy your cloud-native production-ready microservices
Understand the challenges and complexities of testing and monitoring distributed services
Build scalable,modular,and robust microservices architectures with the latest features of C# and .NET Core
Book Description
The microservices architectural style promotes the development of complex applications as a suite of small services based on specific business capabilities. The book provides a hands-on approach to creating and deploying microservices using ASP.Net Core and Microsoft Azure.
In this book,you’ll learn what microservices are and their main characteristics,here we will introduce a real-life application built as a monolith,currently struggling under increased demand and complexity,and begin the transition to Microservices by using the latest features of C# 8 and .NET Core 3. You’ll learn how to identify service boundaries,split the application into multiple microservices,and define service contracts. You’ll also understand how to configure,deploy,and monitor microservices using Docker and Kubernetes. Then,you’ll learn to implement auto-scaling in a microservices architecture to enhance your productivity. With an introduction to reactive microservices,you’ll gain further value to keep your code base simple,focusing on what is more important rather than on messy asynchronous calls. Finally,you’ll delve into the various design patterns and best practices to create enterprise-ready microservice applications.
By the end of this book,you would be able to successfully deconstruct a monolith and create well-defined microservices
What you will learn
Get acquainted with Microsoft Azure Service Fabric Compare microservices with monolithic applications and SOA
Learn Docker,get an overview of Azure Kubernetes Services and Azure API management services.
Integrate services using a synchronous approach via RESTful APIs with ASP.NET Core 3.0
Implement microservices security using Azure Active Directory,OpenID Connect,and OAuth 2.0
Understand the operation and scaling of microservices in .NET Core 3.0
Understand the key features of reactive microservices to build scalable apps
Who This Book Is For
This book is for C# and .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.
Contents
Preface
Chapter 1: An Introduction to Microservices
Chapter 2: Refactoring the Monolith
Chapter 3: Effective Communication between Services
Chapter 4: Testing Microservices with the Microsoft Unit Testing Framework
Chapter 5: Deploying Microservices with Docker
Chapter 6: Securing Microservices Using Azure Active Directory
Chapter 7: Monitoring Microservices
Chapter 8: Scaling Microservices with Azure
Chapter 9: Introduction to Reactive Microservices
Chapter 10: Design Patterns and Best Practices
Chapter 11: Building a Microservice Application
Chapter 12: Microservices Architecture Summary
Appendix
Assessments
Other Books You May Enjoy
Index