Take a realistic look at microservices and distributed systems with the .NET stack to understand the limitations of microservices development through a practical lens
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 theyre not. Youll 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. Youll 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, youll have a well-rounded understanding of cloud and distributed .NETviewed 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 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 youve 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.
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
Gabriel Baptista is a seasoned technology professional with over two decades of experience in software development and team leadership. He currently leads a team focused on building application software for retail and industry. In parallel, he serves as a member of a technical advisory board, teaches computer engineering at the undergraduate level, and has co-founded technology start-ups in the fields of industrial automation and intelligent logistics. Throughout his career, he has contributed extensively to academia, teaching subjects related to software engineering and information technology at various educational institutions. Francesco Abbruzzese is the author of the MVC Controls Toolkit and Blazor Controls Toolkit libraries. He has contributed to the diffusion and evangelization of the Microsoft web stack since the first version of ASP.NET MVC. His company, Mvcct Team, offers web applications, tools, and services for web technologies. He moved from AI systems, where he implemented one of the first decision support systems for financial institutions, to top-10 video game titles such as Puma Street Soccer.