Skip to content

Instantly share code, notes, and snippets.

  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save syron/c190638dd77b54adcfb4b9406ed88652 to your computer and use it in GitHub Desktop.
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