azure-storage

Azure WebJobs Blob Trigger - multiple resizes

ぃ、小莉子 提交于 2020-01-06 04:03:11
问题 I'm attempting to create C# Azure WebJob which is triggered on a new Blob creation to resize the uploaded image into three different sizes. I found and followed this great tutorial. There are two sections, the first portion "works" but enters into a recursion loop as the creation of the three new sizes triggers the script, which creates three more instances for each of three new images, so forth and so forth. This was intentional, to highlight the need for the final implementation. Here is

Azure WebJobs Blob Trigger - multiple resizes

微笑、不失礼 提交于 2020-01-06 04:03:09
问题 I'm attempting to create C# Azure WebJob which is triggered on a new Blob creation to resize the uploaded image into three different sizes. I found and followed this great tutorial. There are two sections, the first portion "works" but enters into a recursion loop as the creation of the three new sizes triggers the script, which creates three more instances for each of three new images, so forth and so forth. This was intentional, to highlight the need for the final implementation. Here is

Azure Service Bus Queue error: “No valid combination of account information found”

為{幸葍}努か 提交于 2020-01-05 04:16:33
问题 Trying to connect to a windows azure queue from a windows service (ie. not running in azure, just on my desktop, for now, but eventually on a self-hosted windows server). The connection string generated by the dashboard is in the following form: Endpoint=sb://MyServiceBus.servicebus.windows.net/;SharedAccessKeyName=MySasName;SharedAccessKey=***** I'm trying to initialize the CloudStorageAccount , but am receiving a format exception (as noted in the title). string str = ConfigurationManager

Antimalware for Azure App Services

我与影子孤独终老i 提交于 2020-01-05 04:11:12
问题 We've just had penetration testing done on our website hosted in Azure (App Services). One of the things that came back was the tester was able to upload known malicious files, including: EICAR - the known Antivirus testing text file located at http://www.eicar.org/ Word documents with malicious macros embedded. And some others. These files were successfully submitted and hosted by the server. The same Eicar file is picked up right away from Avast on my local machine and blocked. Is there

Azure Table Storage Warning - WCF Data Services obsolete

此生再无相见时 提交于 2020-01-04 21:37:04
问题 After upgrading to the new storage API version 4.2, I'm getting the following warning that I'm calling obsolete methods on some of my segmented queries. 'Microsoft.WindowsAzure.Storage.Table.CloudTableClient.GetTableServiceContext()' is obsolete: 'Support for accessing Windows Azure Tables via WCF Data Services is now obsolete. It's recommended that you use the Microsoft.WindowsAzure.Storage.Table namespace for working with tables.' So far I haven't been able to figure out how to achieve this

Azure Table Storage Warning - WCF Data Services obsolete

假如想象 提交于 2020-01-04 21:34:56
问题 After upgrading to the new storage API version 4.2, I'm getting the following warning that I'm calling obsolete methods on some of my segmented queries. 'Microsoft.WindowsAzure.Storage.Table.CloudTableClient.GetTableServiceContext()' is obsolete: 'Support for accessing Windows Azure Tables via WCF Data Services is now obsolete. It's recommended that you use the Microsoft.WindowsAzure.Storage.Table namespace for working with tables.' So far I haven't been able to figure out how to achieve this

'Microsoft.Azure.Storage.Emulator.Controller, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies

百般思念 提交于 2020-01-04 15:15:41
问题 We were unable to automatically populate your Visual Studio Team Services accounts. The following error was encountered: TF400813: Resource not available for anonymous access. Client authentication required.Microsoft Azure Tools: Could not load file or assembly 'Microsoft.Azure.Storage.Emulator.Controller, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. Microsoft Azure Tools: Could not load file or

How do I know if my code that uses Azure Storage is to be affected by upcoming API versions removal in December 2015? [duplicate]

北城余情 提交于 2020-01-04 05:59:10
问题 This question already has answers here : Microsoft Azure Storage Service APIs removal on december 2015 (2 answers) Closed 5 years ago . I've got an email from Microsoft saying lower versions of Storage Service are going to be removed in December 2015. Our applications use Azure SDK 1.8 and 2.0. How do we check for sure if we're impacted by this change? 回答1: I'm not sure how to interpret the details in that letter (not clear if the lowest required SDK version is 2.0 or 2.1), so the best bet is

Azure file Storage SMB slow to list files in directory

邮差的信 提交于 2020-01-04 05:14:04
问题 We have an app that lists files in a folder through Azure Files. When we use the C# method: Directory.GetFiles(@"\\account.file.core.windows.net\xyz") It takes around a minute when there are 2000 files. If we use CloudStorageAccount to do the same: CloudFileClient fileClient = storageAccount.CreateCloudFileClient(); CloudFileDirectory directory = fileClient.GetShareReference("account").GetRootDirectoryReference().GetDirectoryReference("abc"); Int64 totalLength = 0; foreach (IListFileItem

Does the Azure table storage API cache results?

不打扰是莪最后的温柔 提交于 2020-01-04 02:47:10
问题 When I run the same query multiple times against the Azure table storage, is it using caching and speeding up the subsequent queries? In other words, is it caching the HTTP response? 回答1: Azure storage definitly use caching: http://www.scribd.com/doc/73458371/Windows-Azure-Storage-at-23rd-ACM-Symposium-on-Operating-Systems-Principles-SOSP-Paper Note that writes are actually kept in memory until correctly replicated and I think it's safe to assume that any reads are cached too so that multiple