Monday, April 6, 2026 1:09:54 AM

Integration with Azure

11 years ago
#79 Quote
Hi support, I just downloaded the NopAccelerate CDN hoping to implement it on my website www.ehubcap.net that is hosted on Azure
Question;
will this plugin implement the Azure CDN by integrating to it?
Thank you
jose
0
11 years ago
#80 Quote
Jose wrote:
Hi support, I just downloaded the NopAccelerate CDN hoping to implement it on my website www.ehubcap.net that is hosted on Azure
Question;
will this plugin implement the Azure CDN by integrating to it?
Thank you
jose


Hi Jose, Yes it works with any CDN service that supports pull zone configuration.

If I check with Azure guide here, as per their instruction use your CDN URL in plugin configuration to use nopAccelerate CDN plugin.

If it doesn't work or you need help, please feel free to ask. We're here to help you!

Thanks
0
Thank you for choosing our products!

Your feedback is important to us!
11 years ago
#81 Quote
Ok let me try, I was writing a rewrite rule to achieve that but I will try you instructions first
0
11 years ago
#82 Quote
Hi Krunal, I obviously have issues with properly configuring the path to the pictures for the CDN endpoint to discover them
It's past 2.00am , I need to catch some sleep, will contact you after a while today....
0
11 years ago
#83 Quote
Hi Jose,

No problem. Please update us once you are done.

Thank you
0
Thank you for choosing our products!

Your feedback is important to us!
11 years ago
#84 Quote
Hi Krunal. got it working, by way of a convoluted route
1. Created a Azure CDN with automatic generated URL http://xxxxxxxx.vo.msecnd.net/
2. with origin domain => http://www.ehubcap.net/
3. Registering a subdomain of type (img-cdn1.ehubcap.net) at godaddy pointing to xxxxxxxx.vo.msecnd.net
4. Created a subdomain of type xxxxxxxx.vo.msecnd.net now pointing at www.ehubcap.net
5. Applying the plugin to img-cdn1.ehubcap.net=>www.ehubcap.net=>xxxxxxxx.vo.msecnd.net=Azure CDN
and is working nicely

I'm planning to create a couple CDN's for the Js and css's

your advise?
Thank you
Jose


0
11 years ago
#85 Quote
Will the plugin support the creation of CSS and JS CDN's or is strictly for the content/images  folder?
Can you provide the source code?
Have you successfully rewrites the elements path to Azure CDNs?
Can you try/, getting a free account, $200.00 in credit and NopCommerce 3.40 on the gallery should give you plenty of ammunition for trying Azure Websites and the whole platform
I want to do more than the images to CDN but is kind of hard for me to without examples of Azure integration
Need you help here Krunal
Jose
0
11 years ago
#86 Quote
Hi Jose,

Thank you for your update. Glad to know your issue is fixed.
The plugin currently do not support loading css and js from CDN. We plan to add them. However, it might take some time.
We will definitely check with Azure test account and add those details to our documentation for you and others to follow.

Regards,
Krunal
0
Thank you for choosing our products!

Your feedback is important to us!
11 years ago
#87 Quote
HI Krunal, I really, really need to change the RegEx of the rewrite URL rule on  the plugin to point it to an Azure container.
I created a container storage named "content" but Fiddler is flagging a 404 because the Nopaccelerate CDN is following the Nopcommerce images convention path of http://www.mydomain.com/content/images/thumbs/test.jpeg, whereas Azure blobs are flat files under the container with no standard ASP.Net MVC structure, to correct that we have to write a URL rule like or similar to this;


<!--<rewrite>
             <rules>
      <rule name="redirectionto Azure CDN" stopProcessing="false">
      <match url="images/(.+)" ignoreCase="true" />
      <action type="Redirect" http://azxxxxxx.vo.msecnd.net/{containerName}/{R:1}" redirectType="Permanent"          appendQueryString="true" logRewrittenUrl="true" />
               </rule>
               </rules>
</rewrite>-->



the error I'm getting:
HTTP/1.1 404 The specified blob does not exist.
http://xxxxxxxxxxxxwindows.net/content/images/thumbs/0000307_muscle-car-sport-breaks_230.jpeg

If you are testing azure websites with storage, blobs, tables and queue you will realize that the architecture is pretty simple, so moving the content from Nopcommerce images folder to the Azure storage, to serve it from the CDN's and deleting the files in the NopCommerce website root will dramatically lighten the CPU load,,memory consumption and prevent auto scaling in Azure Website plan, improving and serving faster clients requests from the edge servers to the neighbouring CDN's, also JS and CSS bundled or not ( we have a choice not to, (since Microsoft will take care of that on theirs  Geocached endpoints) they could be on a CDN as well.
guess what?, our websites will be running real happy and unclogged, that's my reasoning
Could you help us with that correction for us to try and evaluate??
Advise please we are on hold for a solution like this
Thank you
Jose
ehubcap

0
11 years ago
#88 Quote
Hi Jose,

As you already know via support ticket discussion, that we are planning to add these features. We'll notify you when they are available.

Regards,
Krunal
0
Thank you for choosing our products!

Your feedback is important to us!