Practical Microservices with Dapr and .NET

This second edition will help you get to grips with microservice architectures and how to manage application complexities with Dapr in no time. You'll understand how Dapr simplifies development while allowing you to work with multiple languages and platforms. Following a C# sample, you'll understand how Dapr's runtime, building blocks, and software development kits (SDKs) help you to simplify the creation of resilient and portable microservices.
Dapr provides an event-driven runtime that supports the essential features you need for building microservices, including service invocation, state management, and publish/subscribe messaging. You'll explore all of those in addition to various other advanced features with this practical guide to learning Dapr. With a focus on deploying the Dapr sample application to an Azure Kubernetes Service cluster and to the Azure Container Apps serverless platform, you’ll see how to expose the Dapr application with NGINX, YARP, and Azure API Management.
By the end of this book, you'll be able to write microservices easily by implementing industry best practices to solve problems related to distributed systems.

Type
ebook
Category
publication date
2022-11-11
what you will learn

Use Dapr to create services, invoking them directly and via pub/sub
Discover best practices for working with microservice architectures
Leverage the actor model to orchestrate data and behavior
Expose API built with Dapr applications via NGINX and Azure API Management
Use Azure Kubernetes Service to deploy a sample application
Monitor Dapr applications using Zipkin, Prometheus, and Grafana
Scale and load test Dapr applications on Kubernetes
Get to grips with Azure Container Apps as you combine Dapr with a serverless platform

no of pages
312
duration
624
key features
Build resilient, stateless, and stateful microservice applications that run on the cloud and edge * Overcome common issues in distributed systems, such as low latency and scaling, using any language and framework * Learn how to expose and operate Dapr applications with multiple options
approach
You will begin by learning the basics of Dapr, followed by tutorials on how to work with each tool and the .NET SDK.

Starting with a real-life eCommerce example, each chapter presents a new challenge of a growing application, and solves it, in-depth, with a different Dapr’s building block, demonstrating how to apply it to a microservice distributed architecture.
audience
This book is for developers looking to explore and implement microservices architectures in Dapr applications using .NET examples. Whether you are new to microservices or have knowledge of this architectural approach and want to get hands-on experience using Dapr, you’ll find this book useful. Familiarity with .NET will help you to understand the C# samples and code snippets used in the book.
meta description
Use the innovative, highly portable event-driven distributed application runtime to simplify building resilient and scalable microservices for cloud and edge applications.
Purchase of the print or Kindle book includes a free eBook in the PDF format.
short description
This book will help you discover the powerful capabilities of Dapr by implementing a sample application with microservices leveraging all the building blocks. Throughout the book, you’ll find out how Dapr helps you simplify the creation of resilient and portable microservices.
subtitle
A developer's guide to building cloud-native applications using the event-driven runtime
keywords
Building microservices, Dot net core, Distributed systems, High availability, Microsoft, Dapr, architecture, Azure, Kubernetes, C#, Microservices book, .NET book, C# book, software architecture, serverless architecture
Product ISBN
9781803248127