Category: Uncategorized

Speed up your Azure Website with Azure CDN

A content delivery network or content distribution network (CDN) is a large distributed system of servers deployed in multiple data centers across the Internet. CDN’s goal is to server the content to end users with high performance and reliability. Azure CDN now supports Azure websites service which helps make your website perform faster and provides you’re with high availability. Azure CDN is designed for:

  • Better performance for your apps and services

    The Azure Content Delivery Network (CDN) is designed to send audio, video, applications, images, and other files faster and more reliably to customers using servers that are closest to each user. This dramatically increases speed and availability, resulting in significant user experience improvements.

  • Designed for today’s web:

    Azure CDN was specifically designed for the dynamic, media-centric web of today—and its users who expect everything to be fast, high quality, and always-on. Built on a modern network topology of large centralized nodes, Azure CDN is backed by massive storage and compute capacity within an agile cloud infrastructure.

Continue reading “Speed up your Azure Website with Azure CDN”


Run composer on Kudu (Azure Websites)

Composer is a dependency package manager in PHP. With Composer you can solve the problem where your project depends on a number of PHP based libraries and some of those libraries depend on other libraries. With composer you can declare the things your project depends on and composer finds out which versions of which packages need to be installed, and installs them (meaning it downloads them into your project).

KUDU is a developer’s paradise for Azure websites where there are ample tools  from troubleshooting, analysis and diagnostics. Check out the kudu project on GitHub. To access your KUDU site, navigate to https://***** where ***** is the name of your website NAME running on Azure Websites.

KUDU supports single sign on , so enter your Azure account email credentials and once authenticated you should see a page similar to the one illustrated below

kudu Continue reading “Run composer on Kudu (Azure Websites)”

Baking with Cake PHP on Azure Websites

Cake PHP is a MVC framework that makes it easy to quickly build web applications . CakePHP has an inbuilt tool called BAKE that allows you automatically create you controller , view and model files including source code. This article will show you how to use this tool if you have a CakePHP web application running on Azure websites.

  1. Install Cake PHP from the Websites Gallery. Click here to learn how to install the framework.
  2. When a website is created on WAWS, a Kudu website is created to support GIT deployments on WAWS. To access your Kudu site , you need to use the URL in this format .To learn more see , How to access Kudu Service
  3. You need to update the PATH environment variable to Console folder for using cake command line tool. This step needs to be performed every time a browser session is created for accessing KUDU website that is running on WAWS. To make this easy , create a batch script with the following code

set path=%path%;%home%\site\wwwroot\app\console

Continue reading “Baking with Cake PHP on Azure Websites”