Configuring the development environment
In this part of the chapter, we will go through the configuration of the development environment for the Azure Function App project in Visual Studio.
When we create functions online in the Functions portal, we create C# script .csx
based functions. C# script code files have certain features that differ from traditional C# code, which will be highlighted in the Appendix A, C# Script-Based Functions.
When we create functions in Visual Studio, we are developing "precompiled" functions. The functions are built in a traditional class-library project, and compiled into a library (DLL). The entire library is then published as a Function App, accompanied by a function.json
file for each function.
Development in Visual Studio offers full access to IntelliSense, unit testing, and integration with source control repositories and continuous delivery tools, and thus is preferable to the online experience.
Downloading and installing Visual Studio
Azure Functions tools...