Today, the majority of the business have based their roots with Azure. Above all the benefits, the main attraction of the Azure functions is that it helps in the simplification of developing the applications. They can also be debugged locally to identify the errors or to know the sanity status of the function. This can be done easily using the Visual Studio IDE.
Let’s see the steps to be followed:-
First, let us download the Function App content from the azure portal as shown in the below image:
Do not forget to select the option: “Include app settings in the download” while downloading the Function App content. This will include a ‘local.settings.json’ file which contains your application settings.
Copy the downloaded file and paste it in the visual studio in your project and then run the project using F5. You can set the break point from where you want to start debugging.
After executing the project using F5, we get the function URL as shown in the below image. Copy that URL and paste it in the browser to start the execution. You can also use this URL in the postman to debug the Function App.
When you post the above URL in the browser, the output also includes the details about how this Azure Function was triggered as shown in the below screen shots:
Below are the 3 types of triggers that invoke the Azure Functions:-
1) HTTP Trigger: Triggers the execution of the code using the HTTP request.
2) Service Bus Trigger: Triggers whenever a message is added to the service bus queue or topic.
3) Timer Trigger: Triggers at a particular time interval or as per predefined schedule.
I hope this helps you.
Insert data into Many-to-Many relationship in Dynamics CRM very easily & quickly, using the Drag and drop listbox.
Create a personal / system view in Dynamics CRM with all the fields on the form/s which you select for a particular entity using the View Creator.
© All Rights Reserved. Inkey Solutions 2021