Skip to main content
added 3 characters in body
Source Link
David Forster
  • 8k
  • 2
  • 16
  • 29

I have found a work around for that -

I have created a method to resolve the CDN url from my event system code.

Here is the Code -

WebRequest webRequest = WebRequest.Create(cdnurl);
HttpWebResponse response = (HttpWebResponse)webRequest.GetResponse(); var resolvedUrl = response.ResponseUri.AbsoluteUri;

WebRequest webRequest = WebRequest.Create(cdnurl);
HttpWebResponse response = (HttpWebResponse)webRequest.GetResponse();
var resolvedUrl = response.ResponseUri.AbsoluteUri;

I have found a work around for that -

I have created a method to resolve the CDN url from my event system code.

Here is the Code -

WebRequest webRequest = WebRequest.Create(cdnurl);
HttpWebResponse response = (HttpWebResponse)webRequest.GetResponse(); var resolvedUrl = response.ResponseUri.AbsoluteUri;

I have found a work around for that -

I have created a method to resolve the CDN url from my event system code.

Here is the Code -

WebRequest webRequest = WebRequest.Create(cdnurl);
HttpWebResponse response = (HttpWebResponse)webRequest.GetResponse();
var resolvedUrl = response.ResponseUri.AbsoluteUri;
Source Link
Sayantan Basu
  • 2.6k
  • 11
  • 15

I have found a work around for that -

I have created a method to resolve the CDN url from my event system code.

Here is the Code -

WebRequest webRequest = WebRequest.Create(cdnurl);
HttpWebResponse response = (HttpWebResponse)webRequest.GetResponse(); var resolvedUrl = response.ResponseUri.AbsoluteUri;