How to do it...

Perform the following steps:

  1. Open the FunctionAppInVisualStudio Azure Function app in Visual Studio, and then add a new function by right-clicking on the FunctionAppInVisualStudio project. Click on Add | New Azure Function, which opens a popup. Here, for the name field, enter BlobTriggerCSharp and then click on the Add button.
  2. This opens another popup, where you can provide other parameters, as shown in the following screenshot:
  1. In the storage account connection settings, provide AzureWebJobsStorage as the name of the connection string and provide the name of the Blob container (in my case, it is cookbookfiles) in the

Get Azure Serverless Computing Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.