azure-table-storage

How do I add an SMS from Twilio into Azure Table Storage using Logic App

女生的网名这么多〃 提交于 2019-12-01 14:32:18
I am able to receive a text message into a Logic App, via a Twilio Web Hook. as set up by following these instructions Regarding my question here Now I need to add that text into an Azure Table. I have added a Parse JSON action What should I put in the Content and Schema? I found that if I click inside the Content Box I am prompted to pick from a tag. I guess Body is the one. [Update] Now I am trying to insert the Entity Directly but I cant work out how to do this in the designer. How do I expand the Entity text box so as to put the JSON in? [Update2] I found I could expand the Entity text box

Azure Storage Table size

假如想象 提交于 2019-12-01 14:30:43
问题 Azure billing is based on the size of used space. Now I need to know the details. What is the size of each storage object in my storage (blob container, single table)? It's easy to write a code that enumerates all blobs and calculates the overall size per container. But what about tables? How can I get the size of a certain table in Azure storage? 回答1: If you're not interested in getting a breakup by blob container, you don't have to write the code as far as finding the blob storage size is

Azure SQL Database trigger to insert audit info into Azure Table

谁都会走 提交于 2019-12-01 12:57:28
I am working on a database auditing solution and was thinking of having SQL Server triggers take care of changes and inserting them into an auditing table. Since this is a SQL Azure Database and will be fairly large I am concerned about the cost of a growing database due to auditing. In order to cut down on the costs needed for auditing purposes, I am considering storing the audit table (or tables) in Azure Tables instead of Azure SQL databases. So the question becomes, how to get the SQL Server trigger to get the changed data into Azure Tables? The only thing I can come up with is to have an

Azure SQL Database trigger to insert audit info into Azure Table

风格不统一 提交于 2019-12-01 10:39:22
问题 I am working on a database auditing solution and was thinking of having SQL Server triggers take care of changes and inserting them into an auditing table. Since this is a SQL Azure Database and will be fairly large I am concerned about the cost of a growing database due to auditing. In order to cut down on the costs needed for auditing purposes, I am considering storing the audit table (or tables) in Azure Tables instead of Azure SQL databases. So the question becomes, how to get the SQL

Azure Storage exception when a string length is more than 32768 characters

青春壹個敷衍的年華 提交于 2019-12-01 09:22:29
My application is an ASP.NET Core 1.0 Web API. If my controller returns a small string, everything works fine. But if the string length gets longer than 32768, i'm getting the following error message: --- End of stack trace previous location where exception was thrown --- at System.Runtime.CompillerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompillerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Server.Kestrel.Internal.Htpp.Frame`1.<RequestProcessAsync>d__2.MoveNext() Request Information RequestID:440ed7db-0002-006f

Where are the diagnostics/logs storage tables?

倾然丶 夕夏残阳落幕 提交于 2019-12-01 08:28:54
I have a problem deploying a WebRole (WCF service) to Azure . My WebRole keeps showing buzy for at least 30 minutes, until I abort it. I deploy through Visual Studio 2010. I’m looking for some trace information and there is a few blogs that have pointed me towards storage tables called WADInfrastructureLogsTable and WADLogsTable . I have set up the configuration settings with my storage account like this: <ConfigurationSettings> <Setting name="DiagnosticsConnectionString" value="DefaultEndpointsProtocol=https;AccountName=sandsofttestservice;AccountKey=HgPjkzx

Update RowKey or PartitionKey in Azure Table Storage

大城市里の小女人 提交于 2019-12-01 03:37:21
Can i update RowKey or PartitionKey properties of entity in Azure Table Storage? I thought yes or maybe just PartitionKey but now i am trying to do that(try to change RowKey or PartitionKey) and get error: The remote server returned an error: (404) Not Found. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Net.WebException: The remote server returned an error: (404) Not Found. Source Error: Line 143: Line 144: var

Retrieving many rows using a TableBatchOperation is not supported?

不问归期 提交于 2019-12-01 03:13:00
Here is a piece of code that initialize a TableBatchOperation designed to retrieve two rows in a single batch: TableBatchOperation batch = new TableBatchOperation(); batch.Add(TableOperation.Retrieve("somePartition", "rowKey1")); batch.Add(TableOperation.Retrieve("somePartition", "rowKey2")); //second call throws an ArgumentException: //"A batch transaction with a retrieve operation cannot contain //any other operation" As mentionned, an exception is thrown, and it seems not supported to retrieve N rows in a single batch . This is a big deal to me, as I need to retrieve about 50 rows per

Add or replace entity in Azure Table Storage

隐身守侯 提交于 2019-12-01 02:33:13
I'm working with Windows Azure Table Storage and have a simple requirement: add a new row, overwriting any existing row with that PartitionKey/RowKey. However, saving the changes always throws an exception, even if I pass in the ReplaceOnUpdate option: tableServiceContext.AddObject(TableName, entity); tableServiceContext.SaveChangesWithRetries(SaveChangesOptions.ReplaceOnUpdate); If the entity already exists it throws: System.Data.Services.Client.DataServiceRequestException: An error occurred while processing this request. ---> System.Data.Services.Client.DataServiceClientException: <?xml

Add or replace entity in Azure Table Storage

倾然丶 夕夏残阳落幕 提交于 2019-11-30 22:16:57
问题 I'm working with Windows Azure Table Storage and have a simple requirement: add a new row, overwriting any existing row with that PartitionKey/RowKey. However, saving the changes always throws an exception, even if I pass in the ReplaceOnUpdate option: tableServiceContext.AddObject(TableName, entity); tableServiceContext.SaveChangesWithRetries(SaveChangesOptions.ReplaceOnUpdate); If the entity already exists it throws: System.Data.Services.Client.DataServiceRequestException: An error occurred