Freigeben über


[Sample Of June 19th] How to change the content type of Windows Azure blob storage

 

Homepage image
RSS Feed

Sample Download : https://code.msdn.microsoft.com/How-to-change-the-content-605b3df5

This code snippet shows how to change the content type of Windows Azure blob storage. In some cases, a lot of media files stored on blob are in different formats - mp4, image file, etc. Sometimes, all these files are set as one content type: application/octet-stream, which causes issues in media playback and progress bar. Many users would like to know how to set the appropriate Content-type for files stored on blob (like - video/mp4, video/ogg, video/webm)—not to do it manually for each file through blob interface. This script will help users easily batch change the content type of blob storage. It allows users to change content type of blob storage to any data type. 

imageYou can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download samples on demand, manage the downloaded samples in a centralized place, and automatically be notified about sample updates. If it is the first time that you hear about Microsoft All-In-One Code Framework, please watch the introduction video on Microsoft Showcase, or read the introduction on our homepage https://1code.codeplex.com/.