azure-blob-storage

ASP.NET Core Web API upload and download file

試著忘記壹切 提交于 2019-12-23 12:19:17
问题 My scenario: ASP.NET Core 2.1 Web API Controller Azure Blob Storage as storage I read some docs on internet (and on Stack Overflow in particular), but I didn't find a real complete answer to my question. Question Which is the best practice to upload and download BIG files using a ASP.NET Core 2.1 Web Api Controller and Azure Blob Storage as back-end for saving data? Please, suppose the controller is: [Route("api/[controller]")] [ApiController] public class UploadDownloadController :

addFileAttachmentAsync error with files from azure blob storage

左心房为你撑大大i 提交于 2019-12-23 04:26:09
问题 I am developing an Outlook Add-in where I also want to attach some files to an Outlook Appointment. I am able to upload files to the Azure blob/file storage successfully but if I want to attach these files via the addFileAttachmentAsync method I'll get a Download failed message in Outlook, the status of the result of the method is 'Succeeded' though. The file is public available via the URL https://menatwork.blob.core.windows.net/outlookattachments/Icon80.png (tried both https and http) If I

Upload the image into storage blob using typescript and angular2

拈花ヽ惹草 提交于 2019-12-21 19:53:16
问题 I am developing angular 2 application using typescript. in my current project I implemented the functionality for uploading image into azure storage blob, for that I followed the below link. http://www.ojdevelops.com/2016/05/end-to-end-image-upload-with-azure.html I write the below lines of code for my view to select the image from my local machine. <form name="form" method="post"> <div class="input-group"> <input id="imagePath" class="form-control" type="file" name="file" accept="image/*" />

azure cdn purge not refreshing cached content

杀马特。学长 韩版系。学妹 提交于 2019-12-21 16:58:42
问题 I have an Azure CDN (Verizon, premium) connected to blob storage. I have 2 rules in place based on step 6 in this tutorial. The rules are designed to force the CDN to serve "index.html" when the root of the CDN is called. They may or may not be relevant to the issue, but they are described in Step 6 as follows: Make sure the dropdown says “IF” and “Always” click on “+” button next to “Features” twice. set the two newly-created dropdowns to “URL Rewrite” set the all the sources and destination

Copy from Azure Blob to AWS S3 using C#

一个人想着一个人 提交于 2019-12-20 01:39:21
问题 Please note that this is my first time doing anything in C# so please be kind, I might have made some very basic mistakes. (and yes I know I shouldnt hardcode keys but will fix it when the code does what I want). I am trying to create an Azure Function that copies any new items from Blob storage to AWS S3. I have managed to copy from blob to blob using the code from this article: https://cmatskas.com/copy-azure-blob-data-between-storage-accounts-using-functions/ I have tried to amend that

Copy from Azure Blob to AWS S3 using C#

£可爱£侵袭症+ 提交于 2019-12-20 01:38:59
问题 Please note that this is my first time doing anything in C# so please be kind, I might have made some very basic mistakes. (and yes I know I shouldnt hardcode keys but will fix it when the code does what I want). I am trying to create an Azure Function that copies any new items from Blob storage to AWS S3. I have managed to copy from blob to blob using the code from this article: https://cmatskas.com/copy-azure-blob-data-between-storage-accounts-using-functions/ I have tried to amend that

Use wildcards in WASB ListBlobs

孤人 提交于 2019-12-19 11:37:30
问题 I'm using Azure .Net SDK to list all blobs from Windows Azure Storage Blob container. let client = account.CreateCloudBlobClient() let container = client.GetContainerReference("my-container") let list = container.ListBlobs("data/2014-*-17/", false) // ! here as you can see i'm trying to filter blobs by wildcarded prefix. UPD Not supported as 07/2019 回答1: Unfortunately this won't work as Azure Storage does not allow you to do server-side wild card filtering. Only filtering option available to

Python script to use data from Azure Storage Blob by stream, and update blob by stream without local file reading and uploading

为君一笑 提交于 2019-12-18 18:12:10
问题 I have a python code for data processing , i want to use azure block blob as the data input for the code, to be specify, a csv file from block blob. its all good to download the csv file from azure blob to local path, and upload other way around for the python code if running locally, but the problem is my code running on azure virtual machine because its quite heavy for my Apple Air , pandas read_csv from local path does not work in this case, therefore i have to download and upload and

Python script to use data from Azure Storage Blob by stream, and update blob by stream without local file reading and uploading

北慕城南 提交于 2019-12-18 18:12:07
问题 I have a python code for data processing , i want to use azure block blob as the data input for the code, to be specify, a csv file from block blob. its all good to download the csv file from azure blob to local path, and upload other way around for the python code if running locally, but the problem is my code running on azure virtual machine because its quite heavy for my Apple Air , pandas read_csv from local path does not work in this case, therefore i have to download and upload and

How to copy files from sharepoint into blob storage azure data factory v2 using Odata linked service

邮差的信 提交于 2019-12-13 23:42:25
问题 Can any one help in understanding procedure of copying excel file from share point to azure Blob storage through Azure Data Factory pipelines. I am struggling while creating Odata linked service. What is service url in odata linked service? I am using rest apis provided in link here as a service url :https://xxxxx.sharepoint.com/sites/xxx/_api/web/ authentication type: basic when I test connection I outputs a weird error: here I have tried the following articles so far. https://docs.microsoft