Tag Archives: azure

Azure: On Premises vs IaaS vs PaaS vs SaaS

Azure cloud model is generally divided into two: Infrastructure as a Service (IaaS) and Platform as a Service (PaaS).

The difference is how much you have to manage in each service. The more you have to manage, the more you have to pay.

See this graph below:


Leave a comment

Posted by on May 21, 2015 in General


Tags: , , , ,

Difference Between Azure Web App and Cloud Service

When I first getting started on Microsoft Azure, I was confused between these two: Azure Web Site and Web Role.

Azure Web Site is one of many Azure services while Web Role is an instance running behind Azure Cloud Service, another service offered by Azure. Since then, Azure Web Site has been changed to Azure Web App.

Basically, the difference is the control you have and portion you have to manage in each service.

Azure Cloud Service, Web Role in this case, gives you more control, but with more control, comes greater responsibility. See this graph below:


For detail technical difference, see Feature Comparison on Azure App Service, Cloud Services, and Virtual Machines comparison.

Leave a comment

Posted by on May 20, 2015 in General


Tags: , , ,

Introduction to Azure Services

Microsoft Azure is evolving universe. Couple years ago, there were only less than 15 services. Today, there are hundreds and Microsoft keeps adding more so expect even more to come.

Generally, the services are divided into the following group. There more than what is listed here, but these are the main groups.

  • Compute
  • Data Management
  • Networking
  • Mobile
  • Messaging and Integration
  • Backup
  • Identity and Access
  • Big Data

See below graph to get some idea which service belongs to which group. Again, these are generally idea, not every service and group are listed here.


To get more detail on Azure Services and its groups, check out this Azure infographic from Microsoft.


Now, what do all these components mean to you as a developer? Each component is a tool and you can use it as a building block to your application, be it a web, mobile or windows application. To give you some ideas, this is what your typical application architecture would look like using Azure Platform.


Open World

What’s really amazing about Microsoft Azure is Microsoft has opened up Azure for ecosystem other than Microsoft. If you are MEAN stack developer, you can deploy MongoDB, Express, AngularJS and Node.js in Azure. You can even deploy MySQL, write PHP code or spin up Linux virtual machine in Azure. Yes, it’s now Microsoft Azure and not WIndows Azure anymore because it doesn’t just belong to Windows or .Net developers, but all kind of developers.

The Future

Azure is huge and it is the future. If you haven’t got your hand in Azure, roll up your shirt sleeves and get dirty now. And if you care to read more, head out to Introducing Microsoft Azure.

Leave a comment

Posted by on May 11, 2015 in General


Tags: ,

Godaddy Domain Name in Windows Azure

There are few things you will need to change in your Godaddy account before setting custom domain in Windows Azure. They are:

Point CNAME to Azure Website

Change CNAME for www subdomain to point to Windows Azure website.

In Godaddy’s Domain management portal, click on “Launch” link for DNS Manager.


Under CNAME category, change WWW host to your Windows Azure website.


After saving the zone file, it will take about 1 hour for the DNS to propagate across. So, you might not be able to do next step immediately.

Forward Domain to WWW Subdomain

Still on Godaddy domain management portal, forward your host domain to WWW subdomain.



Custom Domain in Windows Azure

In Azure management portal, configure website which you want to set custom domain, click on Manage Domains button on bottom bar.

After DNS change has propagated, you can now put in your Godaddy domain name under Domain Name field.


How Windows Azure Website Works

How Windows Azure website works has to do with why you did what you just did.

Every time you create a new website, Windows Azure assigns a host name for your site under ( One of the reason for this is, if the IP address ever change for, for example: geolocation purpose, you don’t need to change anything from your side, so you will still be using host name you are given.

To point your custom domain,, to, you will need to use CNAME record. There is another popular way to point a domain to a server, it’s called A record, however, we can’t use this in our case because A record only point to IP address. And since you have pointed WWW subdomain to your Azure websites, you will also need to forward to

1 Comment

Posted by on February 12, 2013 in General


Tags: ,

MVC Bundle Not Working with Release Configuration (Debug is False)

I encountered problem with Scripts and Styles bundle when deploying ASP.Net MVC 4 application to Windows Azure. The site loaded without CSS and JavaScript and developer tools show bunch of URL bundles returning 404 errors.

Solution was to add the following code to web.config

  <modules runAllManagedModulesForAllRequests="true">
    <remove name="BundleModule" />
    <add name="BundleModule" type="System.Web.Optimization.BundleModule" />

When deploying with Release configuration manager, <compilation> debug is set to false and MVC minify all CSS and JavaScript files.

If run with debug="true" output is the following HTML.

<link href="/Content/themes/base/jquery.ui.core.css" rel="stylesheet"/>
<link href="/Content/themes/base/jquery.ui.resizable.css" rel="stylesheet"/>
<link href="/Content/themes/base/jquery.ui.selectable.css" rel="stylesheet"/>
<link href="/Content/themes/base/jquery.ui.accordion.css" rel="stylesheet"/>
<link href="/Content/themes/base/jquery.ui.autocomplete.css" rel="stylesheet"/>
<link href="/Content/themes/base/jquery.ui.button.css" rel="stylesheet"/>
<link href="/Content/themes/base/jquery.ui.dialog.css" rel="stylesheet"/>
<link href="/Content/themes/base/jquery.ui.slider.css" rel="stylesheet"/>
<link href="/Content/themes/base/jquery.ui.tabs.css" rel="stylesheet"/>
<link href="/Content/themes/base/jquery.ui.datepicker.css" rel="stylesheet"/>
<link href="/Content/themes/base/jquery.ui.progressbar.css" rel="stylesheet"/>
<link href="/Content/themes/base/jquery.ui.theme.css" rel="stylesheet"/>

But if run with debug="false", output is the following instead:

<link href="/Content/themes/base/css?v=LJDigUf9DCM1N7CIVASNPsU78xE9F_Int_B2M79n8CI1" rel="stylesheet"/>

Posted by on February 8, 2013 in General


Tags: , , , ,

%d bloggers like this: