How to override BlobContainer in AzureProvider

2 posts, 0 answers
  1. KDL
    KDL avatar
    36 posts
    Member since:
    Aug 2005

    Posted 09 Feb 2016 Link to this post

    I am trying to use RadCloudUploader with Azure Media Services. I need to override the BlobContainer per uploaded file so that I can upload each into their own container in azure blob storage (due to the way Azure Media Services works). I have created a custom provider and custom upload handler but the problem is how to get the azure container name into the AzureProvider Initialize method.

    Here is how the processing needs to work:

    1. Get Azure Media Services container name
    2. Upload each selected file into the correct blob container (name comes from step 1)
    3. Do some additional processing after each file has uploaded (database work, additional Azure Media Services API stuff, etc.)

    Step 2 is the problem. I just need to be able to specify the container name (not the folder path, as per the Handler's SetKeyName override). Thanks for any help, I've been going a bit crazy on this one.

  2. Peter Filipov
    Peter Filipov avatar
    1028 posts

    Posted 12 Feb 2016 Link to this post

    Hi Kent,

    I guess that you want to get the container name based on the user, so you could do in the pageload event and share this information into the Session state and access it into the handler. Please clarify if this is the case, otherwise please give us more details.

    Peter Filipov
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top