Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I'm looking into the possibilities of hosting several websites in Windows Azure.

Right now, I have a dedicated server where I have developed a Windows Service which performs the following tasks every 5 minutes:

  • Looks at a table in a database
  • Finds new sites Creates the site in IIS
  • Creates the database on the SQL server
  • Deploys an MVC 3 package to IIS with parameters for connection strings and such

In Azure, I can't find a way to create a Website from PowerShell looking at the Cmdlets docs here: http://msdn.microsoft.com/en-us/library/windowsazure/jj152841.aspx

What looks strange, is that using the command line tools for Mac and Linux you can create new sites: https://www.windowsazure.com/en-us/manage/linux/other-resources/command-line-tools/#Commands_to_manage_your_web_sites

share|improve this question

2 Answers 2

up vote 0 down vote accepted

That's right, there is no PowerShell support for WAWS at the moment. Here is the answer from Microsoft on the WAWS forum: http://social.msdn.microsoft.com/Forums/da-DK/windowsazurewebsitespreview/thread/f4e69962-a1ec-437f-b205-bb1664242ed2

share|improve this answer
    
That was the answer i feared :) –  MartinHN Aug 2 '12 at 14:22
    
Note that you could reverse engineer the Linux CLI: github.com/WindowsAzure/azure-sdk-for-node/blob/master/lib/cli/… –  Sandrino Di Mattia Aug 2 '12 at 14:38

You can install the cross platform tools on Windows. First install Node.js then run npm install azure -g.

You then have access to Windows Azure Web Sites tools. You can watch me demo the tools on this episode of WebCampsTV

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.