azure-table-storage

How do i add a CORS rule to the Azure Storage Emulator with HTTP?

♀尐吖头ヾ 提交于 2019-12-10 13:20:32
问题 To use the Azure Storage (Emulator) Table Service, i need to add a CORS rule for my TypeScript Browser App. I want to add that rule manually using the REST interface (from Postman, not the Browser with the Same Origin Policy). The documentation does not give the correct URL for the Emulator (https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/set-table-service-properties). For DML commands it is like in my request (https://docs.microsoft.com/en-us/rest/api/storageservices

Getting exception - “The property value is larger than allowed by the Table Service”, what is the max size of a row in azure storage table

≯℡__Kan透↙ 提交于 2019-12-10 12:36:45
问题 Getting exception "The property value is larger than allowed by the Table Service" while trying to insert a record in azure table storage. Follwing is my table structure, string PartitionKey,String RowKey,string Id , string site, string name , byte[ ] content, public DateTime createdtime And i am trying to save 83755 bytes array ( 82KB ) in content field and other fields are max of 35 chars. Can anyone please tell me what is the max size of a row for azure storage table? Following is the url

Azure API SharedKeyLite in Powershell

元气小坏坏 提交于 2019-12-10 12:32:30
问题 I'm trying to implement a SharedKeyLite Authorization header function in powershell. This is to connect to Azure Tables REST API. I'm missing something cause I keep getting an error: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. function GenerateHeader($accountName, $accountKey, $action) { $xmsdate = get-date $xmsdate = $xmsdate.ToUniversalTime() $xmsdate = $xmsdate.toString('r') $newLine = "`n"; $message =

How do I query an Azure storage table with Linq?

跟風遠走 提交于 2019-12-10 12:30:15
问题 I'm not sure where exactly, but I've got the wrong idea somewhere with this. I'm trying to, in a first instance, query an azure storage table using linq. But I can't work out how it's done. From looking at a variety of sources I have the following: List<BlogViewModel> blogs = new List<BlogViewModel>(); CloudStorageAccount storageAccount = CloudStorageAccount.Parse(RoleEnvironment.GetConfigurationSettingValue("BlogConnectionString")); CloudTableClient tableClient = storageAccount

Azure Mobile Service TableController not returning inner objects

五迷三道 提交于 2019-12-10 08:24:46
问题 I am creating a basic (my first) Azure Mobile Service with Table Storage to control a simple Events app. My DataObjects consists of 2 object types: Coordinator and Event , I want Coordinators to be a separate table to store specific info that I don't want it denormalized inside the Events, but Events also has a inner object Location to store details for the event's location, but that I want to store denormalized as I don't want to maintain this details separately from the Event. Here the

Performance Azure Blob vs Azure Table

孤街浪徒 提交于 2019-12-10 03:26:24
问题 I have around 300 million text files, ranging from 50kb to 100kb that I need to read and serve on a web page . Remarks: On Azure Table, I would need to split some of the text files, to make sure it doesn't exceed the maximum of 64kb per column. On Azure Blob, I would not have the problem of splitting, but would need to store a reference to them on the Azure SQL/Azure Table. Okay, intro is done! Now, on my Azure Web App: Would be faster to read the text file from Azure Blob or from Azure Table

Azure IoT Hub - Save telemetry best practice

≡放荡痞女 提交于 2019-12-10 03:05:42
问题 I am working on a IoT solution that will save weather data. I have googled for some days now on how to set up the backend. I am going to use Azure IoT Hub for handling communication, but the next step is the problem. I want to store the telemetry to a database. This is where I get confused. Some examples says that I should use Azure BLOB storage or Azure Table storage or Azure SQL. After some years of data collection I want to start creating reports of the data. So the storage needs to be

Can I delete an entire partition in Windows Azure Table Storage?

做~自己de王妃 提交于 2019-12-10 02:39:48
问题 I have a set of rows in a partition that represents some cached data. I want to refresh that cache without any concern for what is already there. Is it possible to delete an entire partition without having to do any selects? 回答1: No, but you can delete an entire table with one call, so you might consider making your partitions separate tables instead. (But, of course, you can't do cross-table queries.) 来源: https://stackoverflow.com/questions/7393651/can-i-delete-an-entire-partition-in-windows

Do I use Azure Table Storage or SQL Azure for our CQRS Read System?

扶醉桌前 提交于 2019-12-10 01:58:58
问题 We are about to implement the Read portion of our CQRS system in-house with the goal being to vastly improve our read performance. Currently our reads are conducted through a web service which runs a Linq-to-SQL query against normalised data, involving some degree of deserialization from an SQL Azure database. The simplified structure of our data is: User Conversation (Grouping of Messages to the same recipients) Message Recipients (Set of Users) I want to move this into a denormalized state,

Azure - Querying 200 million entities

Deadly 提交于 2019-12-09 22:00:56
问题 I have a need to query a store of 200 million entities in Windows Azure. Ideally, I would like to use the Table Service, rather than SQL Azure, for this task. The use case is this: a POST containing a new entity will be incoming from a web-facing API. We must query about 200 million entities to determine whether or not we may accept the new entity. With the entity limit of 1,000: does this apply to this type of query, i.e. I have to query 1,000 at a time and perform my comparisons / business