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 upgraded solution

Testing the upgraded solution

- [Instructor] Let's test the complete scenario with all the changes that we've implemented. So let's open up the terminal and then let's navigate to the folder of the Pet API project and we can execute runc. Let's do the same with Rescue. And then RescueQuery, Hospital. And finally the PetAggregator API. So those five services are running now. And let's open up Visual Studio. And here in Visual Studio I'm going to right click on the Projector project and then I'm going to select Debug, Start New Instance. So this is running here. It looks like it's running correctly. So we're ready to go back to the terminal and do the following. I'm going to use curl to send this request, which is a POST request to the Pet API, and I'm going to pass this payload that is right here. Done. And then let's transfer that pet to the hospital. And finally, let's flag it for adoption, just like this. And let's go back to the terminal here to see if the function is running. So it says that it received one…

Contents