Skip to Content
Serverless computing in Azure with .NET
book

Serverless computing in Azure with .NET

by Sasha Rosenbaum
August 2017
Intermediate to advanced
468 pages
12h 5m
English
Packt Publishing
Content preview from Serverless computing in Azure with .NET

Running the function locally

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Azure Serverless Computing

Mastering Azure Serverless Computing

Lorenzo Barbieri, Massimo Bonanni
Implementing Azure: Putting Modern DevOps to Use

Implementing Azure: Putting Modern DevOps to Use

Florian Klaffenbach, Oliver Michalski, Markus Klein, Mohamed Wali

Publisher Resources

ISBN: 9781787288393Supplemental Content