Posts Tagged ‘Azure’

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

In these links you will understand how to Mock Azure Table Storage…

Unit Testing and Azure is not an easy job, but it is worth doing it sometimes.

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: