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 bindings implementation
From the course: Complete Guide to Dapr for .NET and Azure Developers: Building and Managing Microservices
Testing the bindings implementation
- [Instructor] In this video, we're going to test both input and output bindings. Let's start with the input one. As you might remember, this input binding will involve the functionality of creating a new pet. So we need to run the pet microservice. Let's do that by executing Dapr run. Keep in mind that you'll need components path because that's the place where the input and output by these components are located. Okay, let's execute this. And now that it's running, we can go to the Azure Portal. Here in the Azure Portal, we can navigate to the Storage account page and then we can navigate to the Queues option. So as you can see, you already have those admittedqueue and petqueue queues. Those were created by Dapr automatically. Okay, let's click on petqueue, and here I'm going to create a new message. So add a message, and the message text will be this JSON document. And be sure that you select another ID different than the one that you already have in the database. And the name in…
Contents
-
-
-
-
-
-
-
-
(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)
-
-
-
-
-
-
-
-
-
-
-
-
-
-