How to run classic ASP on Azure Web Apps


We mention you can use ASP on Azure Web Apps but documentation is a bit scarce.  This walkthrough will show how to deploy a simple vbscript ASP page to a Azure Web App.


Create a Classic ASP page

I will use the App Service Editor built into the Azure Portal.  Simply go to your Web App (or create one if you don’t have one yet) and choose the App Service Editor:


Hint:  You can get there quickly if you know your Web App Name by going to

In the Editor, hover over the WWWROOT directory, then choose the New File icon and call your page whatever you wish (using  .asp as the extension).  In this case I choose default.asp so it will run as the default page.   Then add your VBScript asp page code (note you need to specify the Language parameter as shown:



Sample code:

 <%@ Language="VBScript" %>
        <head> </head>
            <h1>VBScript Powered ASP page on Azure Web Apps </h1>
  Dim dtmHour 

  dtmHour = Hour(Now()) 

  If dtmHour < 12 Then 
    strGreeting = "Good Morning!" 
    strGreeting = "Hello!" 
  End If    

<%= strGreeting %> 


Test it

Now simply browse to your site to see the results!



ASP is supported and enabled by default in Azure Web Apps.  You can easily add ASP pages to you Web App and run them!