Update: Microsoft will be moving away from UserVoice sites on a product-by-product basis throughout the 2021 calendar year. We will leverage 1st party solutions for customer feedback. Learn more here.

Li Huan Jeow

My feedback

  1. 112 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    13 comments  ·  Azure Stack Hub » Compute  ·  Flag idea as inappropriate…  ·  Admin →
    Li Huan Jeow supported this idea  · 
  2. 6 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Networking » Content Delivery Network  ·  Flag idea as inappropriate…  ·  Admin →

    Which SKU of Azure CDN are you using – Azure CDN from Verizon or Azure CDN from Akamai. See the following documentation for working with CORS and Azure CDNhttps://docs.microsoft.com/en-us/azure/cdn/cdn-cors. If CORS isn’t working after following this documentation please provide us a repro or open up a support ticket so that we can investigate further.

    An error occurred while saving the comment
    Li Huan Jeow commented  · 

    Below is LINQPad code for 2 requests. First request goes to blob storage. You can see that the blob is correctly configured for CORS, giving the output as "https://coursepad.com"

    The 2nd request goes to CDN from Verizon, accessing the same file. Accessing the CORS response header results in InvalidOperationException.

    For requests without Range header, the CDN works correctly with CORS. However, having the Range header causes CDN not to send CORS header for all subsequent requests (be it with or without Range header).

    var client = new System.Net.Http.HttpClient();
    var requestBlob = new System.Net.Http.HttpRequestMessage(System.Net.Http.HttpMethod.Get, "https://portalvhdsnrnbpx7x1mzv8.blob.core.windows.net/content/c18eb462eff84ab4946647056804cc42/1_0_dashinit.mp4" );
    requestBlob.Headers.Add("Origin", "https://coursepad.com");
    requestBlob.Headers.Add("Range", "bytes=918-919");
    requestBlob.Headers.Host = "portalvhdsnrnbpx7x1mzv8.blob.core.windows.net";
    var responseBlob = await client.SendAsync(requestBlob);
    responseBlob.Headers.GetValues("Access-Control-Allow-Origin").Dump();

    var request = new System.Net.Http.HttpRequestMessage(System.Net.Http.HttpMethod.Get, "https://az647590.vo.msecnd.net/content/c18eb462eff84ab4946647056804cc42/1_0_dashinit.mp4" );
    request.Headers.Add("Origin", "https://coursepad.com");
    request.Headers.Add("Range", " bytes=918-919");
    request.Headers.Host = "az647590.vo.msecnd.net";
    var response = await client.SendAsync(request);
    response.Headers.GetValues("Access-Control-Allow-Origin").Dump();

    Li Huan Jeow shared this idea  · 
  3. 136 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    planned  ·  12 comments  ·  Networking » Content Delivery Network  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    Li Huan Jeow commented  · 

    Azure premium CDN now has support for EdgeCast URL token authentication. Is there any other features that Microsoft is planning for this?

    An error occurred while saving the comment
    Li Huan Jeow commented  · 

    This is the same as
    http://feedback.azure.com/forums/169397-cdn/suggestions/692716-signed-urls-in-cdn

    Didn't see the other thread when I posted this. Please combine the two. Thanks!

  4. 139 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    planned  ·  4 comments  ·  Networking » Content Delivery Network  ·  Flag idea as inappropriate…  ·  Admin →
    Li Huan Jeow shared this idea  · 

Feedback and Knowledge Base