azure-storage-blobs

How to enable BLOB-logging for a Node.js Api App on Azure?

☆樱花仙子☆ 提交于 2019-11-27 09:53:52
I have a node.js api app on azure. I use bunyan to log every request to sdtout . How can I save and read the log files? I enabled BLOB-logging. The only thing that shows up in my storage is a bunch of csv-files. Here is an example: | date | level | applicationName | instanceId | eventId | pid | tid | message _______________________________________________________________________________________________________________________________________________________________ | 2017-05-17T14:21:15 | Verbose | myApp | tae9d6 | 636306276755847146 | 13192 | -1 | SnapshotHelper::RestoreSnapshotInternal

Differences between Azure Block Blob and Page Blob?

此生再无相见时 提交于 2019-11-27 09:46:29
问题 As I recently started mingling around with Windows Azure , I've came up to a situation where, which one to go for between the Block Blob & Page Blob . I'm currently in progress of uploading some text, csv or dat files to a blob storage and then do a MapReduce program for it using my C# program. Yes I've gone through some articles such as article1, article2. But couldn't get a clear idea from them. To cut short, Block Blob vs Page Blob . Any help would be appreciated. 回答1: The differences are

Azure Data Factory mapping 2 columns in one column

戏子无情 提交于 2019-11-27 09:38:45
Can somebody help me solving the error am getting in concatenating the two columns i.e first name and last name from my text file and merging the two columns into one name column in my Azure SQL database as a sink in Azure Data Factory and another question is that I want to choose the first letter of the column gender that is M or F for male and female respectively from the source text file and changing it to one letter M or F in my gender column in the Azure data factory pipeline enter image description here ? Update 1 My table name is [dbo].[Contact] and after applying this procedure am

Azure Blob Storage vs. File Service [closed]

喜你入骨 提交于 2019-11-27 09:18:22
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 9 months ago . Please correct my wrongs. From my reading on the topic so far, it appears to me that both, Azure Blob Storage and File Service offer the ability to store file(s) and folder(s) (I understand that blobs can store any binary object, but any serialized binary stream is just a

How to load list of Azure blob files recursively?

让人想犯罪 __ 提交于 2019-11-27 08:56:57
Azure blob files are stored in a plain list without any physical folder structure, but we can create virtual folders where each file's folder path is a part of it's name. It brings out another problem, how to retrieve a list of ALL files in virtual sub-folder, using only that folder's name? Actually, there's a simpler way to do that and it is available in the library itself. If you look at CloudBlobContainer.ListBlobs method, it accepts two parameters: prefix : This is the name of your directory. If it is a nested directory, you will need to specify the full path e.g. myfolder/mysubfolder.

403 error in production from WindowsAzure.Storage

强颜欢笑 提交于 2019-11-27 07:45:52
问题 I have a WebForms app that uses the WindowsAzure.Storage API v3. It works fine in development and in one production environment, but I'm rolling out a new instance and any code that calls out Azure Blob Storage gives me a 403 error. I've been fiddling with this for awhile, and it fails on any call out to Blob Storage, so rather than show my code I'll show my stack trace: [WebException: The remote server returned an error: (403) Forbidden.] System.Net.HttpWebRequest.GetResponse() +8525404

How to download a file to browser from Azure Blob Storage

微笑、不失礼 提交于 2019-11-27 06:49:41
I'm already successfully listing available files, but I needed to know how I could pass that file down to the browser for a user to download without necessarily saving it to the server Here is how I get the list of files var azureConnectionString = CloudConfigurationManager.GetSetting("AzureBackupStorageConnectString"); var containerName = ConfigurationManager.AppSettings["FmAzureBackupStorageContainer"]; if (azureConnectionString == null || containerName == null) return null; CloudStorageAccount backupStorageAccount = CloudStorageAccount.Parse(azureConnectionString); var backupBlobClient =

How to track progress of async file upload to azure storage

无人久伴 提交于 2019-11-27 04:04:42
问题 Is there way to track the file upload progress to an Azure storage container? I am trying to make a console application for uploading data to Azure using C#. My current code looks like this: using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Auth; using Microsoft.WindowsAzure.Storage.Blob; using System.Configuration; using System.IO; using System.Threading; namespace AdoAzure { class

Azure Storage API ContentDisposition

穿精又带淫゛_ 提交于 2019-11-26 22:26:15
问题 I see that Azure has release the ContentDisposition property of a blob: http://msdn.microsoft.com/en-us/library/windowsazure/microsoft.windowsazure.storage.blob.blobproperties.contentdisposition(v=azure.10).aspx in their version 3.0 of the api. I've set the property on my existing blobs, but when they are downloaded the content-disposition header is not included in the response. I've verified that when I FetchAttributes the properties from Azure for that Blob that the ContentDisposition

Friendly filename when public download Azure blob

老子叫甜甜 提交于 2019-11-26 19:58:41
问题 Is it possible to save a blob with a name of a GUID (or anything else) but when a user requests the files URI http://me.blob.core.windows.net/mycontainer/9BB34783-8F06-466D-AC20-37A03E504E3F the download comes down with a friendly name e.g. MyText.txt? 回答1: Enabling users to download files (blobs) in Windows Azure can be done in 4 ways; Direct Download – Set the Access of the Container to Public Read Access or Full Public Read Access and expose the URL to the end user. The drawback of this