azure-table-storage

Azure Table Storage throwing exception on Insert: (409) Conflict

£可爱£侵袭症+ 提交于 2021-01-27 04:42:09
问题 I'm using Azure Table Storage to log visitor information from my MVC app, but it sometimes throws the following exception: [WebException: The remote server returned an error: (409) Conflict.] System.Net.HttpWebRequest.GetResponse() +1399 Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync(RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext) in c:\Program Files (x86)\Jenkins\workspace\release_dotnet_master\Lib\ClassLibraryCommon\Core\Executor\Executor.cs:677

Azure Table Storage - No connection could be made because the target machine actively refused it 127.0.0.1:10002

雨燕双飞 提交于 2021-01-26 03:22:53
问题 I'm developing an ASP.Net MVC & WebApi site that uses table storage in Visual Studio 2015 on Windows 8. It was working fine in the development environment (when I set UseDevelopmentStorage=true in my web.config). I'm trying to hit "http://localhost:80" I have to use this and cannot use another port, have another program I am posting to my site with and it will only post to that location. I've recently run the site and get the following error when my code gets to the following line of code:

Azure Table Storage - No connection could be made because the target machine actively refused it 127.0.0.1:10002

一个人想着一个人 提交于 2021-01-26 03:22:11
问题 I'm developing an ASP.Net MVC & WebApi site that uses table storage in Visual Studio 2015 on Windows 8. It was working fine in the development environment (when I set UseDevelopmentStorage=true in my web.config). I'm trying to hit "http://localhost:80" I have to use this and cannot use another port, have another program I am posting to my site with and it will only post to that location. I've recently run the site and get the following error when my code gets to the following line of code:

Date comparison in azure logic app get entities connector

拈花ヽ惹草 提交于 2020-12-06 16:26:08
问题 I have a logic app , which needs to pickup records from azure table storage based on a condition where event_time (one of the field in table) >= current time +24 (hrs) I have tried to implement above logic as I am getting following error { "odata.error": { "code": "InvalidInput", "message": { "lang": "en-US", "value": "')' or operator expected at position 24 in '(event_date_time gt 2020-10-06T21:52:30.2795067Z)'. } } } Is there any way to implement above logic in azure logic app 回答1: For this

Access Azure Table Storage with Azure MSI

我的未来我决定 提交于 2020-07-22 04:20:22
问题 I recently setup my .net core application to use MSI (Managed Identity) to communicate with Azure Blob. Does MSI work with Azure Table Storage? Can't seem to find any documentation on it. I am trying to use MSI so I don't have to manage my keys anymore (keyless). 回答1: Azure Table Storage does not support MSI. Table Storage does support Active Directory access. You can find the services that support MSI at the below link... https://docs.microsoft.com/en-us/azure/active-directory/managed

Batch delete in Windows Azure Table Storage

為{幸葍}努か 提交于 2020-06-25 09:57:37
问题 I'm trying to delete all entities between 2 dates (i.e. 2 partition keys) in the WADLogsTable . So far, the best code I've found is this one (from http://wintellect.com/blogs/jlane/deleting-entities-in-windows-azure-table-storage): private static void DeleteAllEntitiesInBatches(CloudTable table, Expression<Func<DynamicTableEntity, bool>> filters) { Action<IEnumerable<DynamicTableEntity>> processor = entities => { var batches = new Dictionary<string, TableBatchOperation>(); foreach (var entity

Console app to use azure storage tableapi

自作多情 提交于 2020-06-17 09:37:36
问题 Please provide some examples (console application) on sending http request to query an azure table storage using OData? 回答1: UPDATE You can find your sastoken at portal like my pic. And u also need to update the value of x-ms-date ( Required. Specifies the Coordinated Universal Time (UTC) for the request. ) in HttpHelper file . For more details, you can download my demo code in github( You can download my HttpHelper file). using Microsoft.Azure.Cosmos.Table; using Newtonsoft.Json; using

Console app to use azure storage tableapi

北城以北 提交于 2020-06-17 09:37:04
问题 Please provide some examples (console application) on sending http request to query an azure table storage using OData? 回答1: UPDATE You can find your sastoken at portal like my pic. And u also need to update the value of x-ms-date ( Required. Specifies the Coordinated Universal Time (UTC) for the request. ) in HttpHelper file . For more details, you can download my demo code in github( You can download my HttpHelper file). using Microsoft.Azure.Cosmos.Table; using Newtonsoft.Json; using

Azure table storage names - invalid characters

不想你离开。 提交于 2020-06-16 03:05:33
问题 I have the following table names in Azure table storage. Table names are generated automatically in my application and then created using table.CreateIfNotExists(tableName). Some work and some don't. When I dig into the error the extended error information tells me that the resource name contains invalid characters - however I am at a loss to work out what is invalid in the failing names - can anyone spot this? 8836461cc98249bea59dc5f6790d40edstk365developmentusers – the specified resource