Let us have a detailed look at creating azure functions using visual code, creating sharepoint context for getting site data, debugging locally using visual code, and deploying the code to Azure function app from visual code.
Setup and install the prerequisites for developing azure functions using visual code.
Creating Azure Function using Visual Code:
Setup and install the prerequisites for developing azure functions using visual code.
- Install the visual code on your machine and install all prerequisites required for developing azure functions.
- Install the latest of NodeJS.
- Then install the core tools package required for working with Azure functions.
The extensions being enabled on the visual studio can be found in the following snapshot.npm install -g azure-functions-core-tools