azure-table-storage

Missing CloudTable.Execute (and all non-async methods) in ASP.Net 5 Projects

非 Y 不嫁゛ 提交于 2019-12-02 05:53:57
问题 Using Microsoft Visual Studio 2015 RC, if I create a new "ASP.Net Web Application", and go to NuGet and add a reference to the latest version of Azure Storage (Install-Package WindowsAzure.Storage -Pre), in the CloudTable class, all I see are the *Async methods: However, if I create a new Console Application or Class Library (normal class library and console application, not a "Package" one) then I see all the methods as I expect: And it isn't just intellisense, the methods seem to actually

Intermittent crashes in Azure Web Application

江枫思渺然 提交于 2019-12-02 02:58:15
问题 Our Web Application has begun crashing of no reason, and I have no clue at the moment to what it can be. We are running Basic Authentication for SOAP services and ADFS for the main web application. The crashes can occur at any time during the day. It is a test environment, and has fairly low traffic. I have extracted some logs below when the crash was detected. <Event> <System> <Provider Name="ASP.NET 4.0.30319.0"/> <EventID>1309</EventID> <Level>2</Level> <Task>0</Task> <Keywords>Keywords<

How to perform a case-sensitive LINQ query in Azure?

邮差的信 提交于 2019-12-02 02:57:45
I am using Windows Azure Storage Tables, and want to query for an object. The user inputs a string, which I look for in the database as such: var myKey = "SomeCaseSensitiveKeyInputByTheUser"; var someObject = (from o in dataContext.Objects where o.SomeString.Equals(myKey) select o).FirstOrDefault(); However, for some reason, all string comparisons appear to be case insensitive (both == and string.Equals() ). However, I need to match the exact casing of the user input string. How can I do this in my LINQ query? Using == is the same as .Equals(..) , as it just calls that method. You can force to

Create an API Connection to an Azure Table Store via ARM

情到浓时终转凉″ 提交于 2019-12-02 02:40:44
I'm attempting to deploy an API Connection to a Table Store via an ARM template, but the template below is returning an error - Input parameters are invalid. See details for more information. Details:errorCode: ParameterNotDefined. Message: Parameter 'accountKey' is not allowed on the connection since it was not defined as a connection parameter when the API was registered. I cannot find any docs specific to deploying such an API Connection via ARM, only generic ARM template docs which don't give any examples of which parameterValues to use, and Table Store connection docs which seem to be

Hide data in an azure table from a specific audience

核能气质少年 提交于 2019-12-02 02:23:12
I have a resource group in Azure which contains cloud service and a storage account. I want to give access to the resource group to my developers so that they can access the resources and make changes. However, there is one particular table in the storage account which contains sensitive user details. The table is being updated through our client app using SAS tokens. I want only few selected people from my team to be able to see the complete contents of the table. Is there any way in azure to do this? Azure Storage access is gated by its account name+key. Anyone with access to that key has

Missing CloudTable.Execute (and all non-async methods) in ASP.Net 5 Projects

主宰稳场 提交于 2019-12-02 01:05:08
Using Microsoft Visual Studio 2015 RC, if I create a new "ASP.Net Web Application", and go to NuGet and add a reference to the latest version of Azure Storage (Install-Package WindowsAzure.Storage -Pre), in the CloudTable class, all I see are the *Async methods: However, if I create a new Console Application or Class Library (normal class library and console application, not a "Package" one) then I see all the methods as I expect: And it isn't just intellisense, the methods seem to actually be missing. If I go out to the package in windows explorer I see separate folders for dnx451, dnxcore50,

Azure table storage store multiple types

大兔子大兔子 提交于 2019-12-01 21:04:16
What do you recommend in the following scenario: I have an azure table called Users where as columns are: PrimaryKey RowKey Timestamp FirstName LastName Email Phone Then there are different types of tasks for each user let's call them TaskType1 and TaskType2. Both task types have common columns but then have also type specific columns like this: PrimaryKey (this is the same as the Users PrimaryKey to find all tasks belonging to one user) RowKey Timestamp Name DueDate Description Priority then TaskType1 has additional columns: EstimationCompletionDate IsFeasible and TaskType2 has it's own

azure table : Duplicate partition key results in (409) conflict

大憨熊 提交于 2019-12-01 19:43:13
I am trying to insert multiple rows into the Azure table service. As far as this article goes, I have understood the partition key to be able to store duplicates. However, while following this article , when I try to insert a duplicate partition key I get an error: The remote server returned an error: (409) Conflict. What could be wrong in my code? I am following it as per the second article; Or is my understanding incorrect? Also, the first article says that the row key is supposed to act as primary key. The second article says I can hardcode it for the example. This has me confused as to

azure table : Duplicate partition key results in (409) conflict

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-01 19:34:51
问题 I am trying to insert multiple rows into the Azure table service. As far as this article goes, I have understood the partition key to be able to store duplicates. However, while following this article, when I try to insert a duplicate partition key I get an error: The remote server returned an error: (409) Conflict. What could be wrong in my code? I am following it as per the second article; Or is my understanding incorrect? Also, the first article says that the row key is supposed to act as

Azure Storage Table size

你。 提交于 2019-12-01 16:17:34
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? 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 concerned. This information is available to you via storage analytics ( http://msdn.microsoft.com/en-us