Pragmatic Microservices with C# and Azure: Build, deploy, and scale microservices efficiently to meet modern software demands
by 作者: Christian Nagel (Author)
Publisher Finelybook 出版社: Packt Publishing – ebooks Account
Publication Date 出版日期: 2024-05-31
Language 语言: English
Pages 页数: 508 pages
ISBN-10 书号: 1835088295
ISBN-13 书号: 9781835088296
Book Description
Unlock efficiency in software development by learning microservices with C# and Azure
Key Features
- Gain step-by-step project-based guidance on how to develop a full-fledged microservices application
- Gain extensive knowledge of microservices by covering essential concepts, tools, and methodologies
- Acquire skills to deploy and manage microservices on MS Azure
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
This book introduces .NET Aspire and its features for developing microservices. It delves into defining an app model for an application’s services, using service discovery, and integrating components locally and via native cloud services with Azure. It offers practical insights and hands-on experience, exploring microservices concepts in ASP.NET Core.
You’ll learn how to develop robust services using .NET features such as minimal APIs, gRPC, and SignalR for real-time communication. The book also covers essential aspects of DevOps, testing methodologies including unit, integration, and load testing, and logging and monitoring including OpenTelemetry using tools such as Azure Log Analytics, Application Insights, Prometheus, and Grafana. You’ll understand how asynchronous communication leveraging queues and events is facilitated through Azure Event Hub and Apache. Throughout the book, you’ll not only discover the theoretical aspects but also gain practical skills by building and deploying a fully functional microservices-based application.
By the end of this book, you’ll have a deep understanding of microservices architecture, hands-on experience with various .NET technologies and Azure services, and the ability to design, build, deploy, and manage microservices applications effectively in both on-premises and cloud environments.
What you will learn
- Understand microservices architecture benefits
- Utilize the cloud-ready .NET Aspire stack along with its associated tools and libraries
- Develop REST APIs with ASP.NET Core minimal APIs
- Implement database integration with relational and NoSQL databases
- Containerize microservices using Docker
- Deploy microservices to the Azure Container Apps environment and Kubernetes
- Configure logging, monitoring, and tracing for microservices
- Use advanced communication patterns with SignalR, gRPC, queues, and events
Who this book is for
This book is for software developers, architects, and engineers who are interested in adopting microservices architecture using the .NET framework and Microsoft Azure. Both intermediate and advanced developers who have a foundational understanding of C#, ASP.NET Core, and cloud computing concepts will find this book helpful.
Table of
Contents
- The big picture of the application and kick-off to Microservices
- The Minimal API – creating REST Services
- Writing data to relational and NoSQL databases
- Creating libraries for client applications
- Containerization of Microservices
- Microsoft Azure for Hosting of Applications
- Flexible configurations
- DevOps: Publishing with GitHub Actions
- Authentication and Authorization with clients and services
- All about testing the solution
- Logging and monitoring
- Scaling Services
- Real-time messaging with SignalR
- gRPC for Binary Communication
- Asynchronous Communication with Messages and Events
- Running the application on-premises and in the cloud
About the Author
Christian Nagel is Microsoft MVP for Microsoft Azure and Development Technologies, a software architect and veteran developer who has been building solutions with .NET technologies since 2000. He has authored many acclaimed .NET books, and he also speaks at such international conferences as Ignite (formerly TechEd), BASTA! and Thrive. Christian is a Microsoft Certified Trainer and Professional Developer for ASP.NET Core, Microsoft Azure, WinUI, and .NET MAUI.