c# - Organising Azure Media assets in Blob storage -
i'm using azure media services ingest/transcode , deliver content web application. same web application uses blob storage store user assets.
as stands, whenever ingest new item ams new container created in blob storage asset name. there way configure ams use sub-container? i'd prefer keep media assets organised in own directory. instead of sitting @ top level of storage account?
azure storage has no phycial hierarchy folder. there option in azure storage api simulate tree hierarchy including "/" blob names. see related post here
windows azure media services not supporting such naming convention @ moment. once try upload file using .net sdk physical file name name not matching iassetfile.name exception:
system.argumentexception: uploaded file name should equal (case insensitive) iassetfile.name property
iasset asset = _datacontext.assets.create(containername, assetcreationoptions.none); var file = asset.assetfiles.create("folder/subfolder" + guid.newguid().tostring()); file.upload(_smallwmv);
Comments
Post a Comment