Windows azure platform articles
Users familiar with Windows azure know that in the past, if we wanted to deploy our existing web site to the Windows azure hosting service, we needed to do the following migration:
- Add a cloud project in our web site
- Add a reference to an existing web site in a cloud Project
- Add the webrole. CS class in the Web site and add the correspondingCode
- Deploy the Cloud Project to the Windows azure hosting service.
We can see that the Migration and deployment process is very troublesome. So how can we simply deploy the web site to azure?
In the new Management Portal, Microsoft has added managed services such as Windows azure web site. Through azure web site, we can deploy existing applications to the cloud platform very easily and quickly. You do not need to add other steps, such as add Cloud Project.
So how to create a web site on Windows azure? Let's take a look at the following content.
First, log on to the Management Portal Management page and select new management portal to go to the new Management page.
Click "new" in the lower left corner of the management interface, for example:
In the following form, select "web site" --> "quick create" and enter the name of the URL site I want to create in the URL. Here we name it "aleiwebsite ". After the URL is entered, Windows azure checks whether the URL site name is duplicated and prompts the user.
After entering the URL, we can set the data center location of the created web site in region. The rules for setting region are as follows:
- The development and testing process is close to the development team to speed up deployment.
- In the production environment, the physical location of the end customer should be as close as possible to speed up access and use time.
- The location must be consistent with that of the storage service.
The URL we created here is "leimvc4", select "West Europe", and click "Create web site ",. As shown in:
After creation. Select "web site" in the icon on the left to view the previously created site "leimvc4" in the list on the right. As shown in:
We select this site and the page will jump. For example:
In, the details of the "leimvc4" website I created will be displayed respectively:
Although a web site with an empty content was previously created, Windows azure will tell you that the Web site is successfully created on a very friendly interface.
In the next chapter, I will introduce how to deploy the local vs2012 web site to Windows azure.