I am uploading a stream of photo from my phone camera to azure. I am uploading e.ChosenPhoto
which is a stream of the taken photo and i am using blob.Metadata["ImageType"] = "image/jpeg";
but still, when the photo is uploaded the content is marked as application/octet-stream
and when i go to the url the browser download the photo instead of displaying it.
What steps do i need to do in order for it to make it jpg ?
EDIT: it seems that the library that comes with WAT for WP - WindowsPhoneCloud.StorageClient.dll
doesn't support blob.Propeties
at all. (maybe because WP only support async calls ?) Is there any workaround on setting the content type ?