Archive for May, 2012

Azure Set custom Cache Expiration on items stored in a blob

// cache time
var cacheMaxAge = (60 * 60);

 // 3600 second (1 hour) caching// file upload

// setting Content-Type
blobFile.Properties.ContentType = contentType;

// setting cache for CDN
blobFile.Properties.CacheControl = "max-age=" + cacheMaxAge;



Categories: DEV Tags: ,

Mocking Azure TableStorage

Categories: DEV, Test Tags: ,

Running an EXE in an Azure WebRole

As you can Image running an Exe file on Azure is not a “best practice” bust sometimes you don’t have any other option….

In these 2 articles explain how to use the Local Storage…

Categories: DEV Tags: