- Azure Serverless Computing Cookbook
- Praveen Kumar Sreeram
- 78字
- 2021-07-02 20:23:03
How it works…
In this recipe, we have added Queue message output binding and made the following changes to the code:
- Added a reference to the Newtonsoft.Json NuGet library in the project.json file
- Added a new parameter named out string objUserProfileQueueItem which is used to bind the URL of the profile picture as a Queue message content
- We have also made the Run method synchronous by removing async as it doesn't allow us to have out parameters