Created
September 3, 2015 06:25
-
-
Save shibayan/9a6db7335bc7a63c6099 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
var blob = directory.GetBlockBlobReference(filename); | |
blob.Properties.CacheControl = "public, max-age=31536000"; | |
blob.Properties.ContentType = MimeMapping.GetMimeMapping(filename); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment