Build with an Azure free account. Get USD200 credit for 30 days and 12 months of free services.

Start free today

Go Serverless with Azure Functions and C#

Play Go Serverless with Azure Functions and C#
Sign in to queue


You've heard the "serverless" buzzword, but do you know why it matters? In this session, you'll learn about Azure Functions, Microsoft's serverless compute offering. It enables you to build .NET applications more quickly than ever before. Plus, you can lower your costs because you pay per execution. The platform automatically scales up and down based on the number of incoming events. Serverless is useful for data transformation, cron processing, IoT, web and mobile backends, and more. In this session, we'll describe the concepts behind serverless computing and show how easy it is to author C# Azure Functions in Visual Studio. You can run, debug, and even trigger on events in Azure, right from Visual Studio. Once you've deployed your application, you can monitor it with Application Insights, giving you rich queries and a view of the health of your application. This demo-rich session will teach you how to create your own functions using our best-in-class tooling.

Create a Free Account (Azure):



Right click to download this episode

Download captions

The Discussion

  • User profile image

    I would like to know how the functions are loaded and what MS is doing to minimize cold start time. Considering that functions are no more than assemblies (most in the range of MBs if not KBs), all sharing a few framework and libraries (.NET, Json and libs for interop with the bindings), I think that they should be keep in a sort of in-memory storage (or at least SSDs), in order to avoid those 10 secs pause of the cold start.

  • User profile image

    @nmarcel: based on your experience, do those cold start happen every time you access the function or only on the first call? 

  • User profile image
    Anthony Miller

    The sample Todo application is the code available on github?

    As I wanting to get started combining both Azure Functions and CosmosDb together for an API endpoint.

  • User profile image

    You said that your function was working allright after the null-check fix. But it seems not to. Because the exception was thrown...


    if (string.IsNullOrEmpty(todo?.title)) // better idea

  • User profile image

    Yes. Please give a reference to your todo app source. Complete local azure function project resources are relatively scarce and we need rapid prototyping. Thanks.

  • User profile image


    Here's the current location of the source:

    We're working to move it to a more permanent location.

    Cecil and I will also be publishing a series of blog posts in the coming weeks that will go into details on the different concepts he demonstrated, including: unit testing, continuous delivery with Visual Studio Team Services, and monitoring with Application Insights.

    We'll try to post updates here as these posts and other content appear.

    Thanks for watching! Feel free to contact us here or on Twitter if you have questions in the meantime.

  • User profile image

    @Anthony Miller: The app is currently located here:

    It's currently using Table Storage, however. Although it shouldn't be a lot of work to change it to use Cosmos DB.

  • User profile image

    @VirtualVoid:  That issue was a typo on my part. The code in the repo should work fine. Let us know if you have any issues with it. Better yet, send us a pull request :)  

  • User profile image
    Kadir Kapadiya

    Need to use durable orchestrater functions with .Net FrameWork

Add Your 2 Cents