azure-sdk-.net

CloudBlockBlob.DownloadToStream vs DownloadRangeToStream

 ̄綄美尐妖づ 提交于 2020-01-12 05:37:08
问题 Trying to use the ASP.NET azure SDK for downloading images from blob storage.. I read in another post that DownloadToStream does break blobs up into smaller pieces and downloads them in parallel in order to increase performance. I believe this is what DownloadRangeToStream is for. I have not been able to find any documentation or code confirming this statement about DownloadToStream, and am skeptical because it has the same runtime as just downloading straight from the blob url (.5-3s per

Error making Azure Management Library API call when authenticating with azure active directory

情到浓时终转凉″ 提交于 2020-01-08 17:22:21
问题 My company is looking into reporting on Azure. We only want our customers to give us read only credentials for us to use. I did some research and it looks like Azure Active Directory does just that. So I'm looking to authenticate using a read only Azure Directory Application. To get me started I was following this blog on using the Management API via Azure Active Directory. https://msdn.microsoft.com/en-us/library/azure/dn722415.aspx Aside from the approach show being very unfriendly, it

Error making Azure Management Library API call when authenticating with azure active directory

岁酱吖の 提交于 2020-01-08 17:22:08
问题 My company is looking into reporting on Azure. We only want our customers to give us read only credentials for us to use. I did some research and it looks like Azure Active Directory does just that. So I'm looking to authenticate using a read only Azure Directory Application. To get me started I was following this blog on using the Management API via Azure Active Directory. https://msdn.microsoft.com/en-us/library/azure/dn722415.aspx Aside from the approach show being very unfriendly, it

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

Visual Studio 2013/2015 Can't Load Azure Project

社会主义新天地 提交于 2019-12-30 06:21:08
问题 I just got a new machine, and upon installing VS2013 (and I also tried VS2015 preview), one of our projects would not open. The application which this project type is based on was not found. Please try this link for further information: http://go.microsoft.com/fwlink/?LinkId=441332&projecttype=CC5FD16D-436D-48AD-A40C-5A424C6E3E79 The output windows, gives this link, which is useless, and searching online for the GUID {CC5FD16D-436D-48AD-A40C-5A424C6E3E79} didn't bring anything up. Any ideas

Visual Studio 2013/2015 Can't Load Azure Project

*爱你&永不变心* 提交于 2019-12-30 06:21:05
问题 I just got a new machine, and upon installing VS2013 (and I also tried VS2015 preview), one of our projects would not open. The application which this project type is based on was not found. Please try this link for further information: http://go.microsoft.com/fwlink/?LinkId=441332&projecttype=CC5FD16D-436D-48AD-A40C-5A424C6E3E79 The output windows, gives this link, which is useless, and searching online for the GUID {CC5FD16D-436D-48AD-A40C-5A424C6E3E79} didn't bring anything up. Any ideas

Creating Azure AD application and a service principal using .NET Core (the API and HTTP)

北城余情 提交于 2019-12-25 16:59:35
问题 To continue my quest to programmatically create and Azure application (this continues from https://stackoverflow.com/a/44753728/1332416), I have core that acquires a subscriptionID and a tenantId as follows, but I'm at loss as how could I create an application and its associated service principal locally. This is basically where New-AzureRmADApplication and New-AzureRmADServicePrincipal would be used in case of PowerShell. This question is partially answered at https://stackoverflow.com/a

Adding additional content folders to Azure package

让人想犯罪 __ 提交于 2019-12-24 06:45:35
问题 Im using Azure SDK 2.5 I have a web role in a cloud service project. I would like to add a folder in some fashion such that it is deployed in the parent directory of the approot. I havent found a way to do this which kind of makes me wonder what use is the ability to define virtual directories in csdef. So I thought I would try adding folders via the Contents/Content xml config in the csdef. I am either fundamentally misunderstanding what this bit of config does or its hopelessly broken.

How to list all virtual directories and subdirectories using Azure Storage Client Library for .NET (BLOBS)

泪湿孤枕 提交于 2019-12-24 00:59:28
问题 How to list ALL directories AND subdirectories in a blob container? This is what I have so far: public List<CloudBlobDirectory> Folders { get; set; } public List<CloudBlobDirectory> GetAllFoldersAndSubFoldersFromBlobStorageContainer() { CloudStorageAccount storageAccount = CloudStorageAccount.Parse(ConfigurationManager.ConnectionStrings["StorageConnectionString"].ConnectionString); CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient(); CloudBlobContainer container = blobClient

(Not Found) Error in Azure Mobile Services .NET Backend

假装没事ソ 提交于 2019-12-23 06:07:51
问题 Been stuck with that error till madness phases ... Please help I have created an Azure Mobile Service .NET backend, and am now trying to call its Post function from a Xamarin Android client I initialize and call the Insert async function (these are just snippets from my code) private static IMobileServiceTable<Todo> _todoMobileServiceTable; public static bool? InitializeAms() { try { CurrentPlatform.Init(); _mobileServiceClient = new MobileServiceClient(applicationUrl, applicationKey);