From the course: Scaling Applications with Microsoft Azure

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Develop code to implement Azure CDN

Develop code to implement Azure CDN - Azure Tutorial

From the course: Scaling Applications with Microsoft Azure

Start my 1-month free trial

Develop code to implement Azure CDN

- [Instructor] So let's check how can I develop code that will use the Azure CDN? So, best practice is when using the Azure CDN is the use of custom domains, HTTPS with SSL certificates, and also you should be aware and should create continuous integration and continuous deployment deploys that will consider the deployment of the static files that you are sending to the Azure CDN. So, all CSS, JavaScript, image, video files that you want to basically use the Azure CDN to shift all those files, you should send those files to your origin of the Azure CDN that you are using. For example, in Azure Storage. So using the custom domain on Azure CDN will allow you to use your domain like CDN.mydomain.com. So what you need to do is you need to go to your DNS server and create a CNAME record to your endpoint that you have created for your Azure CDN. So here, we are doing cdn.mydomain.com a CNAME entry to mycdn.azureedge.net 'cause your endpoint was called mycdn, for example. So develop code to…

Contents