Month: August 2015

Enabling Azure App Insights Analytics to your Drupal web app

Enabling Azure App Insights Analytics to your Drupal web app

Drupal uses themes to change the look and feel of your web application. Microsoft Azure offers Visual Studio Application Insights service which allows you to get key application telemetry data out of the box, including usage and requests for PHP applications. In this blog post you will learn how to enable Application insights service in your Drupal web application.

Step1: Create an Application Insights service resource in Azure preview portal and get the JavaScript code to inject within your application. This code will allow Application insights service to track and monitor your application. To learn more, see How to get code to monitor your web pages

Continue reading “Enabling Azure App Insights Analytics to your Drupal web app”

Advertisements

Using Umbraco CMS with Multiple Environments on Azure App service

Why use multiple environments? Working directly on your production site is a recipe for disaster you may regress issues or create new issues/bug with your production site breaking critical or non-critical functionality. Once you have a broken production site, rolling out a fix could take from minutes to hours or days during which period your site is down.

More and more developers are using CMS based solutions for developing their websites. Umbraco CMS is one of the popular .NET CMS solutions used by many developers. In this blog post I will share with you how to setup multiple environments for a staging and production sites for Umbraco CMS on Azure Web Apps.

What you will learn

  1. Setup local development site
  2. Setup a staging environment
  3. Setup Courier2 deployment module
  4. Deploy from staging to production site

Continue reading “Using Umbraco CMS with Multiple Environments on Azure App service”

Profiling PHP application on Azure Web Apps

Zend Z-Ray is a debugging/profiling solution offered by Zend technologies. Azure App service team has partnered with them to bring their solution into Azure App service helping developers build better PHP applications on our platform.

To enabled Zend Z-ray , you must have atleast one web application on Azure Web App service. Login to Azure management portal and select your web application.

 

Click on Settingsà Zend Z-ray

You may select the respective tier based on what type of web app you are using. For development purposes, you should use the FREE Sku and for production websites you should use STANDARD Sku.

For this blog post I am going to use STANDARD Sku . Once you select the Sku , you need to purchase the feature (Note that this feature is in preview mode and hence free to use until they are in preview mode. )

If you browse your website now, you will see a status bar for Z-ray that shows all information you need to debug your applications

Once the feature has been successfully enabled , click on Z-Ray Management dashboard to configure the profiler to show up in the browser status bar only if admin of the website and not your end users .

Use the secured mode to allow only admin/developer of your site to access the profile on your site

Click on the Tokens tab on the left side menu to create a new token

Specify the IP address restriction or URL based restriction for your website

To use the token, add the token URL as a GET parameter to the page URL. For example: http://mywebsite.com/path/page.php?zsdbt=<token-string&gt;

To remove an access token, click the Remove Token button under the Actions column in the Tokens list. To expired an access token without removing it, click the Expire Token button .

Z-Ray Live

You can view real-time info on all the requests being made to the Web server, including non-browser based requests, such as APIs, Web services, and mobile requests. Click on Z-Ray Live! On the left side menu . When using an Access token , only URLs with the access token will be displayed with Z-Ray Live !