
Practical Serverless and Microservices with C#
Build resilient and secure microservices with the .NET stack and embrace serverless development in Azure
Packt Publishing
Published on 3. July 2025
Book
Paperback/Softback
474 pages
978-1-83664-201-5 (ISBN)
Description
Take a realistic look at microservices and distributed systems with the .NET stack to understand the limitations of microservices development through a practical lens
Free with your book: DRM-free PDF version + access to Packt's next-gen Reader*
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
Purchase of the print or Kindle book includes a free eBook in PDF format
Book DescriptionFrom 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 this microservices book, you'll have a well-rounded understanding of cloud and distributed .NET-through the lens of two industry veterans.
*Email sign-up and proof of purchase required 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 forThis 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.
If you've enjoyed the authors' previous Software Architecture with C# and .NET series, this new book offers an in-depth exploration of select topics in those earlier works.
Free with your book: DRM-free PDF version + access to Packt's next-gen Reader*
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
Purchase of the print or Kindle book includes a free eBook in PDF format
Book DescriptionFrom 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 this microservices book, you'll have a well-rounded understanding of cloud and distributed .NET-through the lens of two industry veterans.
*Email sign-up and proof of purchase required 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 forThis 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.
If you've enjoyed the authors' previous Software Architecture with C# and .NET series, this new book offers an in-depth exploration of select topics in those earlier works.
More details
Language
English
Place of publication
Birmingham
United Kingdom
Dimensions
Height: 235 mm
Width: 191 mm
Thickness: 25 mm
Weight
877 gr
ISBN-13
978-1-83664-201-5 (9781836642015)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Persons
Gabriel Baptista is a seasoned technology leader with nearly three decades of experience in software development and building high-performing teams. He currently leads an engineering organization that delivers solutions for retail, industrial, and agricultural environments. Throughout his career, he has also contributed to academia, teaching software engineering and information technology across multiple educational institutions. Francesco Abbruzzese dedicates his life to his two great passions: software and powerlifting. He is the author of the Blazor Controls Toolkit library,and contributed to the diffusion and evangelization of the Microsoft web stack since the first .NET version. His company, Mvcct Team, offers web applications, tools, and services for Web technologies. His last product, SimpleProcess is a sophisticated process handling software based on Blazor and .NET microservices. He has moved from AI systems for financial institutions, to top-10 video game titles such as Puma Street Soccer.
Content
Table of Contents
Demystifying Serverless Applications
Demystifying Microservices Applications
Setup and Theory: Docker and Onion Architecture
Azure Functions and Triggers Available
Background Functions in Practice
IoT Functions in Practice
Microservices in Practice
Practical Microservices Organization with Kubernetes
Simplifying Containers and Kubernetes: Azure Container Apps and Other Tools
Security and Observability for Serverless and Microservices Applications
The Car Sharing App
Simplifying Microservices with .NET Aspire
Demystifying Serverless Applications
Demystifying Microservices Applications
Setup and Theory: Docker and Onion Architecture
Azure Functions and Triggers Available
Background Functions in Practice
IoT Functions in Practice
Microservices in Practice
Practical Microservices Organization with Kubernetes
Simplifying Containers and Kubernetes: Azure Container Apps and Other Tools
Security and Observability for Serverless and Microservices Applications
The Car Sharing App
Simplifying Microservices with .NET Aspire