Azure: Getting started

So how to start developing for Azure?

On a Windows 8 PC with Visual Studio 2012 installed I searched for “Platform” for locating the “Web Platform Installer”.

Inside “Web PI” I searched for “Azure SDK”

It takes forever (hours – a night?) to download and install the 27 packages the installer wants to install………………………………………………..

Enabling Azure features

Meanwhile I went to “My Account” on http://msdn.microsoft.com to activate Azure

Without a MSDN subscription you can get a trial account here: http://www.windowsazure.com/en-us/pricing/free-trial/

Next there are several features to choose from on https://account.windowsazure.com/PreviewFeatures

I activated the Web Sites feature

And also

  • Mobile Services feature – Can be backend for Windows Store and Windows Phone apps.
  • Media Services feature (got queued)

Next I went to https://manage.windowsazure.com/ for managing the activad features.

Press “+ NEW” to get something created…

App Services (SaaS) offers

Compute (PaaS) offers

Data Services (STaaS) offers

Networks (IaaS) offers

1-click installers

One nice feature is “1-click installers” called “Web Sites from gallery”

There are 13 packages available. In my Linux hotel I have hundres, but 13 is a nice start.

Also notice there are mixed php (e.g. Drupal) and .NET packeages (e.g. DonNetNuke).

Drupal basic package is currently v. 7.15. I wonder if the Acquia distribition has not been updated to 7.15?
Acquia has been updated. Current version is 7.15.16: https://network.acquia.com/downloads/7.x  – so you don’t get the latest build with those installers.

more packages…

and more…

Test spinning Orchard

I think I should try the Orchard CMS – It should be a modern MVC design in .NET.

Success – installed.

… But not published yet… I thought I just did that…

I entered a new name and password in the right link. That gave me a link to press:

Orchard was not finished installing itself…

Once again invent a username and psw and now the site is running here: http://orchard-rasor.azurewebsites.net/

I installed a 3rd party module on the site that made the CMS crash, so you won’t see it running

Ongoing….

Notes

Azure on DevCamps

Hanselman shows how to continue editing your Azure site  using WebMatrix.

Live: Azure Hands-on-Labs Online

Windows Azure Camps Training Kit including hands-on labs and presentations

Vids: Windows AzureConf 2012

Windows Azure Training Kit – December 2012

From http://www.microsoft.com/enterprise/events/make-it-happen.htm :

Developer technical requirements

Azure Web Deployment QuickStart

Well I can’t really say if this procedure is interesting, but It could be a way forward.

Case

You have a simple Visual Studio web solution (without DB) and want to deploy it to Azure

Procedure

  • From Azure management site
    • Create a web site in Azure
    • Download Publishing Profile
  • From WebMatrix (WM1)
    • Create a new empty ASP.NET site
    • Import the Publishing Profile
    • Test remote settings to see if you have connection
    • Publish the site and verify that you get an empty page only with title set
    • Open the project in Windows Explorer (WE1)
    • Delete all files in the project
  • From Visual Studio (VS2)
    • Create a MVC4 internet project or any other ASP.NET web project
    • Remove database connections and providers in web.config
    • Build and test the project
    • Open the project in Windows Explorer (WE2)
  • From Windows Explorer
    • Copy all files from WE2 to WE1 – except for the /obj/ folder
    • Delete the csproj files – project files for WebMatrix are stored elsewhere
  • Open WM1
    • Test the solution
    • Goto Remote tab – Publish – wait for all files to be published to Azure
    • Test the site in Azure

Procedure – Older

  • From Azure management site
    • Create a web site in Azure
    • Download Publishing Profile
  • From WebMatrix (WM1)
    • Create a new empty ASP.NET site
    • Import the Publishing Profile
    • Test remote settings to see if you have connection
    • Publish the site and verify that you get an empty page only with title set
    • Open the project in Visual Studio (VS1)
    • Open the project in Windows Explorer (WE1)
  • From Visual Studio (VS2)
    • Create a MVC4 internet project or any other ASP.NET web project
    • Remove database connections and providers in web.config
    • Build and test the project
    • Open the project in Windows Explorer (WE2)
  • From Windows Explorer
    • Copy all files from WE2 to WE1
    • Drag and Drop all new files from WE1 into VS1 Solution Explorer
  • From Visual Studio (VS1)
    • Build and test the solution
    • Close the solution
  • Open WM1
    • Test the solution
    • Goto Remote tab – Publish – wait for all files to be published to Azure
    • Test the site in Azure

Ongoing….

The End

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: