< Previous Challenge - Home - Next Challenge >
By now, you have configured the Function App in Azure and updated the TollBooth application code. Now it’s time to start assembling the pieces of the puzzle by publishing the TollBooth application code to Azure and configuring the other Azure PaaS services to trigger it.
In this challenge, you will deploy the TollBooth function code to the first Function App (.NET based, with name containing App
) in Azure. You will also configure Event Grid so that when a file is uploaded to the Blob Storage container, it triggers the ProcessImage
function hosted in the Function App in Azure.
App
function app you created earlierNOTE: You must make sure the publish is successful before moving to the next step!
ProcessImage
FunctionIn the portal, add an event grid subscription to the ProcessImage
function with the following specifications:
ProcessImage
Azure FunctionHINT: There are multiple ways to configure an Event Grid Subscription to a System Topic. One of the easiest is to start from the Storage Account. Navigate to the Events pane, then to the “Event Subscriptions” tab. You can pick any name for the Subscription or the System Topic Name.
Once the TollBooth application is published and configured, upload a license plate image to the storage account to trigger the function.
LiveStream
, upload a License Plate image to the storage account, and validate the function is called and it can successfully extract the plate number Cognitive Services OCR.