Practical Serverless and Microservices with C#

Posted By: DexterDL

Practical Serverless and Microservices with C#: Build resilient and secure microservices with the .NET stack and embrace serverless development in Azure
English | 2025 | ISBN: 1836642016 | 536 pages | True EPUB | 15.43 MB


Key Features

Work through common scenarios encountered when developing distributed microservices applications
Understand cost considerations, traffic limits, and time limits surrounding serverless environments
Take full advantage of the synergy between Azure services (Container Apps, Functions, and Aspire) and .NET code

Book Description

From the authors of the Software Architecture with C# and .NET series comes this practical and grounded showcase of microservices using the .NET stack.

Written for .NET developers entering the world of modern cloud and distributed applications, it shows you when microservices and serverless architectures are the right choice for building scalable enterprise solutions and when they’re not. You’ll gain a realistic understanding of their use cases and limitations. Rather than promoting microservices as a one-size-fits-all solution, it encourages thoughtful adoption based on real-world needs.

Following a brief introduction and important setup, the book helps you prepare for practical application through examples such as a ride-sharing website. You’ll work with Docker, Kubernetes, Azure Container Apps, and the new .NET Aspire with considerations for security, observability, and cost management. The book culminates in a complete event-driven application that brings together everything you've covered.

By the end of the book, you’ll have a well-rounded understanding of cloud and distributed .NET—viewed through the lens of two industry veterans.

What you will learn
Set up serverless environments in Azure for developing and debugging
Design reliable communication and computation across microservices
Explore Azure Functions in depth and use triggers for IoT and background tasks
Use Azure Container Apps to simplify the creation and management of containers
Apply best practices to secure a microservices application
Accurately assess and calculate costs and usage limits in serverless solutions

Who this book is for

This book is for engineers and senior software developers looking to advance into modern cloud and distributed applications. It helps professionals evolve their knowledge of microservices and serverless architecture to get the best of both architectural models. Prior experience with C#/.NET and the Microsoft Stack (Entity Framework and ASP.NET Core) is required to get the most out of this book.