Running the end-to-end sample scenario

Press F5 in Visual Studio Code. From the Service Bus Explorer, post an order to the Service Bus queue.

Before posting the message, ensure that you are adding a brokered message header called Content Type with the value as application/json as follows:

If the Content Type header is not set correctly, the Service Bus queue trigger fails with the following exception, stating that There was an error deserializing the object:

Once the run is successful, you can see a new order will be created with the appropriate status:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.14.87.152