azure-storage

C# Generate Azure Table Storage ConnectionString

ぐ巨炮叔叔 提交于 2020-01-24 00:26:14
问题 I want to generate connectionString for azure table storage using azure subscriptionId and azureApiKey. I found the following Microsoft library: https://github.com/Azure/azure-libraries-for-net/tree/master but can't understand how can I generate connectionString here. I can't even find appropriate method for it. Do I need additional data to generate ConnectionString? 回答1: Do I need additional data to generate ConnectionString? Preparation: 1.Registry an app in the Azure AD and create service

Transfer all data from my account to another in the same Azure subscription

前提是你 提交于 2020-01-23 17:47:05
问题 I need to transfer all data (websites, blob, databases) from my account to another in the same Azure subscription, because I need to close my account and I can't miss this data. There's a way to perform this without to contact Microsoft Support? Thanks 回答1: You don't need to do the data transfer as the subscription remains the same. What you would need to do is transfer account ownership . For instructions on changing the account ownership from one account to another, please see this link:

web.config rewrite rule not working in Azure static website in blob storage

本小妞迷上赌 提交于 2020-01-22 23:06:14
问题 I have a single page React app hosted in Azure blob storage but am getting an The requested content does not exist. error when deep linking into a page: I've enabled static website option in the storage account: The files are all in place in the $web container: This includes the following web.config with a rewrite rule that is supposed to let index.html handle all the routing: <?xml version="1.0" encoding="utf-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="React Routes"

How to configure mail on Azure SQL Database

谁说胖子不能爱 提交于 2020-01-20 08:36:18
问题 We are moving from Microsoft SQL Server 2012 (SP1) - 11.0.3128.0 (X64) to Microsoft SQL Azure (RTM) - 12.0.2000.8 Previously we send mail from database mail if a particular table have not updated in a particular time interval. But i tried to do the same on Azure mail but seems like this functionality is not available on this. 回答1: You can write a Stored Procedure to query the table and return results, read the results in an Azure WebJob, Logic App or Azure Function, schedule the execution and

Windows Runtime Component + Azure Tables

廉价感情. 提交于 2020-01-17 12:25:10
问题 I want to use Azure tables in my Windows Runtime Component project. It is a Background Agent for my Windows 8.1 RT app. When I try to define my TableEntity derived class: public class CustomEntity : TableEntity I get this error: Windows Runtime class 'CustomEntity' has an invalid base type 'Microsoft.WindowsAzure.Storage.Table.TableEntity'. Classes must derive either from System.Object or from a composable Windows Runtime Class. Implementation inheritance is not allowed. I also tried deriving

Windows Runtime Component + Azure Tables

ⅰ亾dé卋堺 提交于 2020-01-17 12:25:10
问题 I want to use Azure tables in my Windows Runtime Component project. It is a Background Agent for my Windows 8.1 RT app. When I try to define my TableEntity derived class: public class CustomEntity : TableEntity I get this error: Windows Runtime class 'CustomEntity' has an invalid base type 'Microsoft.WindowsAzure.Storage.Table.TableEntity'. Classes must derive either from System.Object or from a composable Windows Runtime Class. Implementation inheritance is not allowed. I also tried deriving

Migrating from Azure SDK 2.0 to Azure SDK 2.3

岁酱吖の 提交于 2020-01-17 04:17:04
问题 We have critical project partly deployed in azure that uses queues, blobs and table storage. Now we using SDK 2.0 and thinking about moving to latest SDK 2.3 but it will cost us some resources especially for load testing with a new Azure SDK. Is there a strong point to update SDK version like critical bug fix, performance issue or maybe useful new feature? Sure, I read release notes but haven't found enough information about it. 回答1: In general we recommend that you always take the latest

Uploading files to Azure blob storage taking more time for larger files

一世执手 提交于 2020-01-17 04:03:21
问题 Hi All... I am trying to uploading the lager file (size more than 100 MB) files to Azure blob storage.Below is the code. My problem is even though I have used BeginPutBlock with TPL (Task Parallelism) it is taking more time (20 Min for 100 MB uploading). But i have to upload the files more than 2 GB size. Can anyone please help me on this. namespace BlobSamples { public class UploadAsync { static void Main(string[] args) { //string filePath = @"D:\Frameworks\DNCMag-Issue26-DoubleSpread.pdf";

How do I extract “eTag” or “x-ms-request-id” from my Astoria DataContext response?

一世执手 提交于 2020-01-16 11:09:25
问题 The Azure table whitepaper mentions that the x-ms-request-id is useful to send to Microsoft in the event there is an error working with the data. If I do have such an error, I'd like my try...catch block to take this and save it somewhere for future analysis. In addition I need to extract the ETag value as well while in Table storage. How do I extract this information and have it available when the Exception comes around? HTTP/1.1 204 No Content Content-Length: 0 ETag: W/"datetime'2008-10

How many access policies can I create and add on the same one Azure container?

会有一股神秘感。 提交于 2020-01-15 05:42:08
问题 I didn't find the answer by search. I thought I should be able to create many stored access policies on one container (at least thousands). But by tests, my program can only add up to 5 policies on one container. Then I tried Microsoft Azure Storage Explorer, it also has this restriction, can add only up to 5. But I cannot find any description about this. Is there any way to remove this restriction? Thanks. 回答1: The access policy limit is indeed 5 stored access policies per container, file