Hosting Classic ASP on Azure

7 במאי 2012

tags: ,
no comments

Is it possible to run a classic Asp site on Windows Azure? Of Course it is, Anything that runs on IIs can be hosted in Azure.

So How do we do it?

  1. Create a simple asp page in notepad (e.g. using http://support.microsoft.com/kb/301097)
  2. Create startup.cmd to install ASP engine
    • start /w pkgmgr /iu:IIS-AS
  3. Create a ASP .Net Web role and modify csdef to include a startup task:
    • <Startup>
    • <Task commandLine="startup.cmd" executionContext="elevated" taskType="simple" />
    • </Startup>
  4. Add both files to web role – change properties to 'Content' and 'Copy if New'.
  5. Build and Publish solution to Azure

More info:

 Windows Azure (How-to enable classic ASP support).

Manu

Add comment
facebook linkedin twitter email

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*