We will create a Azure function and see how to access IoT Hub real time:
- We will continue to use the IoT Hub IoTHubCookBook we created earlier.
- Select the Azure function app from new – compute:
- Create a new function app, FNCookBook:
- Navigate to the function list view, and click the + icon to add a new function.
- Azure function provides multiple templates; we will be selecting the language as C# and the scenario as Data Processing:
- As shown in the following image, input the function name, and select the IoT Hub from the ...