Azure Blob storage bindings for Azure Functions overview
Azure Functions integrates with Azure Storage via triggers and bindings. Integrating with Blob storage allows you to build functions that react to changes in blob data as well as read and write values.
|Run a function as blob storage data changes||Trigger|
|Read blob storage data in a function||Input binding|
|Allow a function to write blob storage data||Output binding|
Add to your Functions app
Functions 2.x and higher
Working with the trigger and bindings requires that you reference the appropriate package. The NuGet package is used for .NET class libraries while the extension bundle is used for all other application types.
|C#||Installing the NuGet package, version 3.x|
|C# Script (online-only in Azure portal)||Adding a binding||To update existing binding extensions without having to republish your function app, see Update your extensions.|
Functions 1.x apps automatically have a reference the Microsoft.Azure.WebJobs NuGet package, version 2.x.
Azure Storage SDK version in Functions 1.x
In Functions 1.x, the Storage triggers and bindings use version 7.2.1 of the Azure Storage SDK (WindowsAzure.Storage NuGet package). If you reference a different version of the Storage SDK, and you bind to a Storage SDK type in your function signature, the Functions runtime may report that it can't bind to that type. The solution is to make sure your project references WindowsAzure.Storage 7.2.1.