From the course: Dapr for Azure Developers with .NET Part 1
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Testing the pub/sub implementation - Azure Tutorial
From the course: Dapr for Azure Developers with .NET Part 1
Testing the pub/sub implementation
- [Instructor] Let's test the changes we've made throughout this chapter. The first thing we're going to do is run redis-commander to inspect Redis. Since we won't use the Azure Service Bus component initially. So here I want to type redis-commander and let's open this webpage so we can see that the Redis instance is completely empty right now. Okay, so let's go back to the Windows Terminal. And here you can see that I have three different tabs opened. One for the pet microservice and the other two for rescue and hospital as well. So here in the pet API folder I'm going to run the dapr sidecar because I want to run the pet microservice by means of the dapr sidecar. So I'm going to execute dapr run and then app ID will be pet. App port will be 5000. Dapr HTTP port will be 50000. And now the command that I want to execute, in this case, dotnet run. And now URLs, http://+:5000. Before I execute this command,…
Contents
-
-
-
-
-
(Locked)
The pub/sub building block1m 53s
-
(Locked)
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)
-
-
-
-