Book Image

Practical Microservices with Dapr and .NET - Second Edition

By : Davide Bedin
Book Image

Practical Microservices with Dapr and .NET - Second Edition

By: Davide Bedin

Overview of this book

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.
Table of Contents (20 chapters)
1
Part 1: Introduction to Dapr
5
Part 2: Building Microservices with Dapr
11
Part 3: Deploying and Scaling Dapr Solutions

Index

As this ebook edition doesn't have fixed pagination, the page numbers below are hyperlinked for reference only, based on the printed edition of this book.

Symbols

.NET 6 11, 86

installing 10, 11

.NET solutions

creating 29

.NET support policy

reference link 11

A

actors, using in Dapr 136

configuration, verifying 141, 142

state store, configuring 140, 141

virtual actor pattern 136-140

AKS cluster

connecting to 161, 162

creating 161

Amazon Web Services (AWS) 4

API management

setting up, on Kubernetes 189-195

used, for configuring Dapr policies 195-203

Application Insights 263

application programming interface (API) 6, 41, 100, 145, 218

ASP.NET service 86

autonomous microservices 48

Azure API Management (APIM) 7, 189, 212

Azure Container Apps 7

architecture 248-250

autoscaling, with KEDA 267

components 248

concepts 250

Dapr components, configuring 254-258

Dapr, deploying...