Azure Table storage bindings for Azure Functions
Azure Functions integrates with Azure Storage via triggers and bindings. Integrating with Table storage allows you to build functions that read and write Table storage data.
Action | Type |
---|---|
Read table storage data in a function | Input binding |
Allow a function to write table storage data | Output binding |
Packages - Functions 2.x and higher
The Table storage bindings are provided in the Microsoft.Azure.WebJobs.Extensions.Storage NuGet package, version 3.x. Source code for the package is in the azure-webjobs-sdk GitHub repository.
Add support in you preferred development environment using the following methods.
Development environment | Application type | To add support |
---|---|---|
Visual Studio | C# class library | Install the NuGet package |
Visual Studio Code | Based on core tools | Register the extension bundle Installing the Azure Tools extension is recommended. |
Any other editor/IDE | Based on core tools | Register the extension bundle |
Azure Portal | Online only in portal | Installs when adding a binding See Update your extensions to update existing binding extensions without having to republish your function app. |
Packages - Functions 1.x
The Table storage bindings are provided in the Microsoft.Azure.WebJobs NuGet package, version 2.x. Source code for the package is in the azure-webjobs-sdk GitHub repository.
Support for this binding is automatically provided in all development environments. You don't have to manually install the package or register the extension.
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.