次の方法で共有


Azure Bootcamp Prep Materials

Learning Azure Fast and Deep - BLOG POST - Being Ready for the Windows Azure Bootcamp

From: Bruno Terkaly
Date: July 12, 2011
Subject: Hands-On One day Boocamp - Instructor and Student Notes
Mission Statement

My Mission " To get you setup and writing cloud code as soon as possible " THIS IS HANDS ON !

The point of all this work is to get you up and running as soon as possible. The point is code first while learning concepts. This is the way developers learn best. Code first, concepts to follow coding practices.

Assumed State of Preparation

I am assuming you are not prepared at all to start writing code.

The first task is to get you setup as soon as possible.

To setup you will need:

  • To have a valid copy of Visual Studio 2010 Professional, Premium, Ultimate ,or Test Professional, including SQL Server 2008 Express.
  • Preferably Windows 7 Professional, Enterprise, or Ultimate. I haven’t tested Vista or Visual Studio 2008.
  • 1.6 GHz or faster non-Mac CPU
  • 2+ GB RAM
  • 20 GB Hard Disk
Setup

To start with be sure yo have one of the following supported operating systems:

  • Windows Server 2008
  • Windows Server 2008 R2
  • Windows Vista
  • Windows 7
Installing Tools

Here is a list of tooling you’ll need to have.

 

A.  Azure Tools

1.   Visual Studio does not automatically install the needed tooling and SDKs for Azure. You can start by going here:

a.   All In One Install

https://www.microsoft.com/web/gallery/install.aspx?appid=WindowsAzureToolsVS2010
-   Windows Azure Tools for MS Visual Studio 2010 Platform v1.4
-   Windows Azure SDK 1.4.1 Refresh
-   URL Rewrite 2.0

 

B.  IIS Support, ASP.NET Version 4.0, and other Pre-Bootcamp requirements

1.   By default, IIS 7.5 is not installed on Windows® 7 Professional, Enterprise, or Windows® 7 Ultimate. You can install IIS by clicking Windows Features in Advanced Options under Programs in Control Panel.

2.   A crucial link with more information about setting up IIS and other Azure required software

a.   http:/msdn.microsoft.com/en-us/library/gg465715.aspx

b.   Click Here for the release notes

c.   The link above covers the following topics. 

-   Microsoft .NET Framework 4.0
-   Internet Information Services (IIS) 7.0
-   Database Requirements for the Windows Azure Storage Emulator
-   Upgrading from a Previous Version of the SDK

3.   Verifying ASP.NET Version 4.0

a.   With a Visual Studio 2010 Command Prompt, type:

 

-   aspnet_regiis -iru

-   The ASP.NET IIS Registration Tool (Aspnet_regiis.exe) is used for registering ASP.NET applications with Internet Information Services

 

Installing Windows Azure Platform Training Kit (May 2011 Release)

Navigate to bing.com and enter the following “Windows Azure Platform Training Kit” Windows Azure Platform Training Kit - May Update

In addition to setting up all the frameworks, SDKs, tooling, and web servers, you should install the training kit from here. https://www.microsoft.com/download/en/details.aspx?displaylang=en\&id=8396.

Once you install the training kit, it will create content in the C:\WAPTK\ folder. If you navigate to C:\WAPTK\Prerequisites.htm, you will get additional help on setting up.

Testing your Setup

Before arriving at the Azure Bootcamp it is always better to show up with a test project up and running correctly. We want the ability to do a “File New Project” command to see if everything works correctly. Once we create a project we can type some “Hello World” code and hit F5 (Run) to make sure all the emulators fire up, in addition to IIS. We also can test with the Storage Emulator works correctly.

Testing your setup by creating a new project

Start Visual Studio and select "File New Project."

image

The next step is to select "Cloud" project type. By default I chose "Windows Azure Project" using C# as my language of choice. I also provide a "Name," "Location," and "Solution Name."

 

image

Your cloud project will need some ".NET Framework 4 Roles".

image

Using “Solution Explorer” navigate to the file “default.aspx.” Update “default.aspx” and add the text “I am ready for the Windows Azure Bootcamp !” as you see below.

image

You are now ready to run your application. Along the way the compute and storage emulators will startup along side your project. From the "Debug" menu choose "Start Debugging."

image

Once your project begins to run, you should see that the storage and compute emulators are started by looking in the "System Tray."

image

If all goes well, you should see the content you write previously ("I am ready for the Windows Azure Bootcamp !").

image