This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static void MemoryStreamTest() | |
{ | |
string localFilePath = @"c:\tmp"; | |
try | |
{ | |
using (MemoryStream memoryStream = new MemoryStream()) | |
{ | |
for (int i = 0; i< 256;i++) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.WindowsAzure.Storage; | |
using Microsoft.WindowsAzure.Storage.Blob; | |
using System; | |
using System.IO; | |
namespace AzureBlobBlogStream | |
{ | |
class Program | |
{ | |
static string localFilePath = @"c:\tmp"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AccessCondition accessCondition = new AccessCondition(); | |
BlobRequestOptions blobRequestOptions = new BlobRequestOptions() | |
{ | |
RetryPolicy = new LinearRetry(new TimeSpan(0, 0, 3), 3), | |
}; | |
OperationContext operationContext = new OperationContext(); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using ICSharpCode.SharpZipLib.Zip; | |
using Microsoft.WindowsAzure.Storage; | |
using Microsoft.WindowsAzure.Storage.Blob; | |
using System; | |
using System.IO; | |
namespace AzureBlobBlogStream | |
{ | |
class Program | |
{ |