Skip to content

Instantly share code, notes, and snippets.

using ICSharpCode.SharpZipLib.Zip;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using System;
using System.IO;
namespace AzureBlobBlogStream
{
class Program
{
AccessCondition accessCondition = new AccessCondition();
BlobRequestOptions blobRequestOptions = new BlobRequestOptions()
{
RetryPolicy = new LinearRetry(new TimeSpan(0, 0, 3), 3),
};
OperationContext operationContext = new OperationContext();
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using System;
using System.IO;
namespace AzureBlobBlogStream
{
class Program
{
static string localFilePath = @"c:\tmp";
private static void MemoryStreamTest()
{
string localFilePath = @"c:\tmp";
try
{
using (MemoryStream memoryStream = new MemoryStream())
{
for (int i = 0; i< 256;i++)
{