Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
string connectionString = ConfigurationManager.AppSettings["StorageConnectionString"];
CloudStorageAccount storageAccount = CloudStorageAccount.Parse(connectionString);
CloudTableClient tableClient = storageAccount.CreateCloudTableClient();
CloudTable table = tableClient.GetTableReference("AzureFunctionsLogTable");
TableQuery<DynamicTableEntity> query = new TableQuery<DynamicTableEntity>();
foreach (var t in table.ExecuteQuery(query))
{
// do your stuff...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment