Linked Questions

Popular Questions

Azure function- Method not found in azure storage

Asked by At

I am using azure table storage for saving data. And I want to create the method as azure function. When i locally debug, it's work fine. When add it in azure function, I got exception error

Method not found: 'Boolean Microsoft.WindowsAzure.Storage.Table.CloudTable.CreateIfNotExists.

CloudTableClient tableClient = cloudStorageAccount.CreateCloudTableClient();
            if (tableClient != null)
            {
                CloudTable table = tableClient.GetTableReference(reference);
                table.CreateIfNotExists();
                TableOperation insertOperation = TableOperation.Insert(entity);
                table.Execute(insertOperation);
                return true;
            }

And WindowsAzure.Storage package config,

<package id="WindowsAzure.Storage" version="7.2.1" targetFramework="net461" />

Related Questions