From the course: Complete Guide to Dapr for .NET and Azure Developers: Building and Managing Microservices
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Testing the configuration building block
From the course: Complete Guide to Dapr for .NET and Azure Developers: Building and Managing Microservices
Testing the configuration building block
- [Instructor] Let's test the configuration component. As you can see, I've already opened Windows Terminal with tasks for each microservice. So let's run each microservice by executing runc.ps1. So let's do that. runc, runc, here in Hospital as well, RescueQuery, and finally, PetAggregator. So, all the microservices are running right now. So, now I want to navigate to the swagger page of the pet aggregator Microservice. So let me open the browser. So now here in this browser, I navigated to the pet aggregator swagger page. So let's click on GET and then try it out. Execute. And as you can see, this is returning the information from those different microservices, just as expected. However, let's go back to the Windows Terminal. Here in the Windows Terminal, you can see that LastQueryDurationInSeconds is 30 seconds. This is because I don't have the configuration key value in Redis right now. So let's change that by executing redis-commander, and let's navigate to Redis Commander right…
Download courses and learn on the go
Watch courses on your mobile device without an internet connection. Download courses using your iOS or Android LinkedIn Learning app.
Contents
-
-
The pub/sub building block1m 53s
-
Publishing messages in the Pet microservice3m 40s
-
(Locked)
Subscribing to messages in the Rescue microservice4m 18s
-
(Locked)
Subscribing to messages in the Hospital microservice5m 10s
-
(Locked)
Creating the Dapr component for Azure Service Bus2m 17s
-
(Locked)
Testing the pub/sub implementation7m 52s
-
-
-
(Locked)
The bindings building block1m 48s
-
(Locked)
Implementing an input binding in the Pet microservice3m 26s
-
(Locked)
Implementing an output binding in the Hospital microservice1m 45s
-
(Locked)
Creating the Dapr components for bindings with Azure Storage2m 5s
-
(Locked)
Testing the bindings implementation5m 6s
-
(Locked)
-
-
(Locked)
The secrets management building block1m 49s
-
(Locked)
Creating a local-file secrets management component3m 35s
-
(Locked)
Retrieving secrets from the microservices5m 30s
-
(Locked)
Referencing secrets in the Dapr components3m 46s
-
(Locked)
Testing the secret references in the components2m 45s
-
(Locked)
Creating the Azure Key Vault component7m 47s
-
(Locked)
Testing the secrets management with Azure Key Vault1m 57s
-
(Locked)
-
-
(Locked)
Understanding the resiliency capabilities in Dapr1m 25s
-
(Locked)
Creating and implementing retry resiliency policies6m 22s
-
(Locked)
Creating and implementing timeout resiliency policies2m 32s
-
(Locked)
Creating and implementing circuit breaker resiliency policies5m 43s
-
(Locked)
Implementing app health checks6m 50s
-
(Locked)
Challenge: Implementing resiliency capabilities40s
-
(Locked)
Solution: Implementing resiliency capabilities3m 52s
-
(Locked)
-
-
(Locked)
The workflow building block24s
-
(Locked)
Using a supported state store for actors and workflows1m 33s
-
(Locked)
Implementing the workflow and its first activity6m 42s
-
(Locked)
Invoking the workflow6m 30s
-
(Locked)
Implementing a second activity5m 25s
-
(Locked)
Challenge: Implementing a human-in-the-loop process1m 14s
-
(Locked)
Solution: Implementing a human-in-the-loop process9m 35s
-
(Locked)
-
-
(Locked)
Running Dapr on Kubernetes1m 58s
-
(Locked)
Deploying the Kubernetes cluster and initializing Dapr3m 2s
-
(Locked)
Containerizing the microservices with Docker Compose3m
-
(Locked)
Preparing and applying the component files in the Kubernetes cluster3m 25s
-
(Locked)
Creating and applying the deployments and services in the Kubernetes cluster5m 38s
-
(Locked)
Creating an ingress controller in the Kubernetes cluster2m 9s
-
(Locked)
Exposing the services in the Kubernetes cluster2m 21s
-
(Locked)
Testing the microservices in the Kubernetes cluster3m 2s
-
(Locked)