Unlock efficiency in software development by learning microservices with C#, .NET and Azure
Key Features: - Benefit from 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
- Use essential Microsoft Azure cloud-native services and as alternatives for on-premises environments
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description: Pragmatic Microservices with C# and Azure introduces .NET Aspire for microservices, focusing on defining an app model, utilizing service discovery, and integrating with Azure's native cloud services. Written by a Microsoft MVP and seasoned software architect with over two decades of experience in .NET, this book will help you get to grips with robust service development using .NET features like minimal APIs, gRPC, and SignalR for real-time communication.
Aside from covering essential aspects of DevOps, including testing methodologies such as unit, integration, and load testing, you'll also explore logging and monitoring including OpenTelemetry using tools like Azure Log Analytics, Application Insights, Prometheus, and Grafana. You'll learn about asynchronous communication leveraging queues and events through Azure Event Hub and Apache.
Throughout the book, theoretical aspects will be complemented by practical skills gained from building and deploying a fully functional microservices-based application. By the end, you'll possess 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 the advantages and practical applications of microservices
- Utilize the cloud-ready .NET Aspire stack and tools for efficient development
- Create robust RESTful APIs using ASP.NET Core minimal APIs
- Implement seamless database integration with both relational and NoSQL databases
- Containerize microservices with Docker for better scalability and management
- Deploy microservices to the Azure Container Apps environment and Kubernetes for robust cloud solutions
- Implement logging, metrics, and distributed tracing to ensure reliability and performance
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