Preface
Practical Microservices with Dapr and .NET helps you discover the powerful capabilities of Dapr by implementing a sample application with microservice architecture, using one of Dapr's many building blocks in each chapter of this book.
Over the last decade, there has been a huge shift from heavily coded monolithic applications to finer, self-contained microservices. Dapr is a new, open source project by Microsoft that provides proven techniques and best practices for developing modern applications. It offers platform-agnostic features for running your applications on the public cloud, on-premises, and even on edge devices.
This book aims to familiarize you with microservice architecture, while managing application complexities and overcoming the nitty-gritty with Dapr, in no time. You will also see how it combines the simplicity of its implementation with its openness to multiple languages and platforms. We will explore how Dapr's runtime, services, building blocks, and SDKs will help you simplify the creation of resilient and portable microservices.
Dapr provides an event-driven runtime that supports the essential features you need to build microservices, such as 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.
This book guides you in creating a sample application based on Dapr, which you'll then deploy to Kubernetes. In this operating environment, you'll learn how to monitor Dapr applications using Zipkin, Prometheus, and Grafana. Finally, you will learn how to perform load testing on Dapr applications in Kubernetes.
By the end of this book, you'll be able to write microservices easily using your choice of language or framework by implementing industry best practices to solve problems related to distributed systems.