The function code is provided next. The auto-generated code implements the same behavior as we've seen in the HelloWorld function created online, however, you will notice a few differences in code. The differences exist because the online function was a C# script ( CSX ) based function.
The Visual Studio "precompiled" function template has references to a number of system libraries and the Azure.WebJobs libraries, and the function's Run method is annotated with attributes. The FunctionName attribute indicates to the compiler that the Run method is a function entry point in the Function App class-library. The HttpTrigger attribute allows us to provide the trigger settings based on which the function.json file is ...