Windows Azure and SQL Database Tutorials

Windows Azure and SQL Database Tutorials

These Windows Azure and SQL Database (formerly SQL Azure) tutorials are designed for beginners who have some .NET development experience. Using a common scenario, each tutorial introduces one or two Windows Azure features or components. Even though each tutorial builds upon the previous ones, the tutorials are self-contained and can be used without completing the previous tutorials.

The first four tutorials demonstrate how to use roles, Windows Azure Storage services, and SQL Database, which are the basics for learning Windows Azure.

 Note
If you wish to contribute to this page, use the Edit tab at the top (sign-in required). If you wish to provide feedback for this documentation please either send e-mail to azuredocs@microsoft.com or use the Comment field at the bottom of this page (sign-in required).

Tutorials

If you like, you can write a tutorial and add it to the list. Here are some ideas:

  • Alternate versions of the tutorials in Ruby or Java
  • Connecting to SQL Database using JDBC
  • Migrating schema and data

Return to Top


Before You Begin the Tutorials

Preparing the Local Development Environment

For configuration instructions, see How to Prepare the Windows Azure Compute Emulator at http://msdn.microsoft.com/en-us/library/gg433136.aspx

Installing the Tutorial Files

Download the tutorial files from http://archive.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=AzureTutorials&DownloadId=15390. Extract the files to the C root directory. The tutorial files contain the following folders:

  • CodeSnippets contains the code snippets used for developing the application.
  • CompletedSolution contains the completed solution. If you run into a problem, you can compare your code with the code in this folder.
  • GolferMessageBoard contains the application you created in the previous tutorials. This is the application that the current application is based on.
  • TutorialFiles contains the files that you will need to import into your project.

Note: This release of the tutorials only provide the C# code samples.

Installing the Code Snippets

For convenience, much of the code that you need to type while executing the tutorials is available as Visual Studio code snippets.

After installing the tutorial files, you can find the code snippets in the C:\AzureTutorials\Tutorial[#]\CodeSnippets folder.

You must install the code snippets manually by copying the contents from one folder to another for each of the 2 folders listed in the table below.

Copy from Paste to
C:\AzureTutorials\Tutorial[#]\CodeSnippets\Visual Web Developer ..\My Documents\Visual Studio 2010\Code Snippets\Visual Web Developer\My Code Snippets
C:\AzureTutorials\Tutorial[#]\CodeSnippets\Visual C# ..\My Documents\Visual Studio 2010\Code Snippets\Visual C#\My Code Snippets

 

Using the Code Snippets

With code snippets, you have all the code you need at your fingertips. You can use the following procedure to add a code snippet:

  1. Right-click where you want to insert the code snippet, and then click Insert Snippet.
  2. Click My Code Snippets or My HTML Snippets, click Windows Azure Tutorials, and then click the name of the code snippet you want to insert.

Provisioning Windows Azure

In order to complete the deployment lesson in each tutorial, you must sign up for a Windows Azure account and purchase a subscription. For more information, see Get Started with the Windows Azure Platform at http://technet.microsoft.com/en-us/library/ff626271.aspx, and see Provisioning Windows Azure at http://blogs.msdn.com/david_sayed/archive/2010/01/07/provisioning-windows-azure.aspx.

Configuring IE

The Windows Azure Platform Management Portal allows you to manage all your Windows Azure platform resources from a single location. You must set the IE pop-up blocker to accept pop-ups from this site so that the database manager can be launched.

To configure the IE Pop-up Blocker

  1. From Internet Explorer Tools menu, point to Pop-up Blocker, and then click Pop-up Blocker Settings.
  2. In Address of website to allow, type windows.azure.com, and then click Add.
  3. Click Close.

Return to Top


Other Resources

Return to Top

Leave a Comment
  • Please add 7 and 4 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Comments
  • Richard Mueller edited Revision 53. Comment: Removed (en-US) from title

  • Richard Mueller edited Revision 54. Comment: Replaced RGB values with color names in HTML to restore colors

  • Jonathan Gao edited Revision 1. Comment: adding more resources

  • Jonathan Gao edited Revision 2. Comment: merging the before you start section to this article

  • Jonathan Gao edited Revision 3. Comment: Inserting the URL for tutorial2

  • PenniJ edited Revision 7. Comment: Made a few minor edits.

  • Jonathan Gao edited Revision 8. Comment: update a link

  • Jonathan Gao edited Revision 9. Comment: update the link for the computer emulator

  • Jonathan Gao edited Revision 10. Comment: update tutorial files URL

  • Jonathan Gao edited Revision 12. Comment: modify the "preparing the local development environment" section

Page 1 of 3 (26 items) 123
Wikis - Comment List
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Richard Mueller edited Revision 53. Comment: Removed (en-US) from title

  • Richard Mueller edited Revision 54. Comment: Replaced RGB values with color names in HTML to restore colors

  • The link for "Get Started with the Windows Azure Platform" no longer works:

    technet.microsoft.com/.../ff626271.aspx

  • Jonathan Gao edited Revision 1. Comment: adding more resources

  • Jonathan Gao edited Revision 2. Comment: merging the before you start section to this article

  • Jonathan Gao edited Revision 3. Comment: Inserting the URL for tutorial2

  • PenniJ edited Revision 7. Comment: Made a few minor edits.

  • Jonathan Gao edited Revision 8. Comment: update a link

  • Jonathan Gao edited Revision 9. Comment: update the link for the computer emulator

  • Seems the tutorial file download page is broken

    code.msdn.microsoft.com/AzureTutorials -- Page not found

  • Jonathan Gao edited Revision 10. Comment: update tutorial files URL

  • The download link has been updated.  Thanks!

  • Jonathan Gao edited Revision 12. Comment: modify the "preparing the local development environment" section

  • Jonathan Gao edited Revision 13. Comment: rename the article

  • Jonathan Gao edited Revision 14. Comment: fix some links

Page 1 of 3 (41 items) 123