Preparations:
Visual Studio 2010 SP1, Windows azure SDK http://www.microsoft.com/en-us/download/details.aspx? Id = 15658
Note: Visual Studio 2011 does not support development of Widnows azure)
Apply for an account (free, credit card number required) https://www.windowsazure.com/en-us/pricing/free-trial/
1. Create a common project (an mvc3 project is used here)
2. Right-click the project file and choose add windows azure deployment project.
3. Add a default controller to MVC and test it later.
After adding, it becomes:
4. Right-click helloworldmvc. Azure and click Publish.
5. Click sign in to download credentials (a page will pop up and a file will be downloaded. You may need to log on)
6. Click Import and select the file you just downloaded. You will find a string of numbers in submodules and select next.
7. If Windows Azure is used for the first time, you need to create a new hosted service (a window will pop up here)
Then the following interface will appear (the following interface will appear directly if you do not use it for the first time)
8. Do not make any changes for the moment. All the way to next and then the last publish
(If it is not the first release, you may be prompted to overwrite it)
9. Releasing, you will see the following window
In the actual process (this process may be stuck. I don't know the cause for the moment. I don't have any prompts, but I am stuck all the time. If I try again, I will be OK. Maybe the network is not good)
10. It may take 5 to 10 minutes for a new project to be released .....
11. After the release is complete, a website URL will be generated
12. Click the URL to seeProgramNow
(The added function is to output the time on the server)
Okay.
By now, the simplest windows azure program has been developed.
The next section describes how to manage and configure windows azure.