azure-storage-blobs

'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

Use AzureDirectory with Lucene.NET 3.0.3.0

本小妞迷上赌 提交于 2020-01-04 07:53:10
问题 I download AzureDirectory and with latest Lucene.NET Simply cannot compile Lots of error like 'Lucene.Net.Store.Azure.AzureDirectory' does not implement inherited abstract member 'Lucene.Net.Store.Directory.Dispose(bool)' Is there any new AzureDirectory that can work with the Lucene 3? 回答1: I have tested the Lucene.Net.Store.Azure 1.0.5.1 with Lucene.Net 3.0.3 which worked for me. I used the following steps so you can try as well: Created a Windows Azure Worker Role in VS2010 Included Lucene

Updating VHD of Azure VM ScaleSet

让人想犯罪 __ 提交于 2020-01-04 05:26:10
问题 I have created a VMSS on Azure using the vhd of my Azure VM. How can I change the source vhd of VMSS to a new vhd ? Get the following error: 回答1: We can use Update-AzureRmVmss and Update-AzureRmVmssInstance to upgrade VMSS instance. If we want to use custom image to upgrades Azure VMSS instances, we should make sure this VMSS create by custom image. If we create VMSS from Azure marketplace, we can’t use custom image to upgrades Azure VMSS instances. Here is my test: 1.I create VMSS by custom

Creating a zip file in situ within azure blob storage

拟墨画扇 提交于 2020-01-03 10:23:17
问题 I have files stored in one container within a blob storage account. I need to create a zip file in a second container containing the files from the first container. I have a solution that works using a worker role and DotNetZip but because the zip file could end up being 1GB in size I am concerned that doing all the work in-process, using MemoryStream objects etc. is not the best way of doing this. My biggest concern is that of memory usage and freeing up resources given that this process

Creating a zip file in situ within azure blob storage

情到浓时终转凉″ 提交于 2020-01-03 10:21:44
问题 I have files stored in one container within a blob storage account. I need to create a zip file in a second container containing the files from the first container. I have a solution that works using a worker role and DotNetZip but because the zip file could end up being 1GB in size I am concerned that doing all the work in-process, using MemoryStream objects etc. is not the best way of doing this. My biggest concern is that of memory usage and freeing up resources given that this process

Azure blob's block list is empty, but blob is not empty! How can this be?

我与影子孤独终老i 提交于 2020-01-03 09:45:07
问题 This issue in a nutshell: A block blob can be created with a single PUT request. This will create a blob with committed content but the blob will not have any committed blocks ! This means that you cannot assume that the concatenation of committed blocks is the same as the committed content. When working with block blobs you'll have to pay extra attention to blobs with empty block lists, because such blobs may or may not be empty! The original question: One of our storage blobs in an Azure

Does not found Listblob() in CloudBlobContainer

房东的猫 提交于 2020-01-03 08:37:34
问题 In my app i want all the blob of my container but in my code (as below) there is not Listblob() method in CloudBlobContainer variable container. Am i missing something? var credentials = new StorageCredentials("xxx", "a37bijfRGGdgaVU+ITEIi0Cp1VrbzMM7Bc9PbMOw2FPAz9twgR+lbTzqGhBfHeJe7UfEp4CXtLxqY5Ek0/5zdg=="); var client = new CloudBlobClient(new Uri("https://xxx.blob.core.windows.net/"), credentials); var container = client.GetContainerReference("publicimage"); //this container variable has

Get-AzureStorageBlob throws Can not find your azure storage credential

爱⌒轻易说出口 提交于 2020-01-03 07:28:10
问题 I have just started using Azure and I am facing issues using the PowerShell cmdlets to work with my storage account. I have created a Storage account and a container in that storage account. Next I installed the Azure Powershell SDK and command lets etc. and imported the publishsettings file. When I do the Get-AzureSubscription or Get-AzureStorageAccount command it correctly shows my subscription in the PowerShell console along with various storage end points. However if I do a Get

Azure Storage CORS

我与影子孤独终老i 提交于 2020-01-02 16:18:19
问题 I have a application on www.somedomain.com. Now all my files(enduser uploaded) are stored on Azure storage which has a domain like somesubdomain.blob.core.windows.net. Whenever the user wants to view the document, the public link of the document on azure is added to a iframe source and can be viewed. The only problem is that, that file in many cases is a html with Javascript inclusion, which is trying to access some basic security free variables on the parent which is originally on my first

How to track individual objects, that are out of order, and then Joining() the consecutive ones?

*爱你&永不变心* 提交于 2020-01-02 12:01:34
问题 I'll start by saying is going to be a little tougher than blindly joining byte[] together. My big picture goal is to optimize an application that currently uploads many 512byte pages to a web server (Azure Page Blob), and reduce that to a single large upload of 4Megs or less. See the links at the bottom of this question for more background as to why. The short answer to why: This optimization will increase speed (fewer IOs) and save money over the long term by using Azure sparse files Now for