How to host asp.net applications in a new Azure portal

Source: Internet
Author: User
Keywords Azure asp. NET application

Windows Azure is now based on Silverlight , and its portal is completely changed. What information he is now, the operation AH is completed on the same page. By deploying, role instances, and managed Service properties windows to provide a variety of extension operations, the pane on the left of the contains an online "How to" wizard and some options for doing other things, for swap The VIP OS configuration can now be done with the top ribbon control.

As for the appearance of Windows Azure's new portal These are in no hurry to discuss, and now we are mainly discussing how to host asp.net applications in the new Azure portal.

In the beginning, let's start with the following three steps:

1, open visual Studio.

2, create a new project, under the "Cloud" tab, select the Windows Azure Project template.

3, select "ASP.net Web role" and click the arrow button to the right.

4, in order to test, make some changes in "default.aspx".
5, right click on the cloud item and choose "Publish". Select "Create Service Package only" from the two options given.

Click the "OK" button, and then you will see a successful release message, and two files will be created automatically.

1, package file (. cspkg)

2, configuration file (. csdef)

To host applications in Azure, we need to provide the full path to these files. So, you should record this path.

This application is run and started on the local creator fabric. Log on to Azure's development portal. After the login is successful, you will see an option to migrate to the new Azure portal. Select this option. You can move to a new portal without any worries, because you can switch back to the old portal at any time.

In the left pane, you can see that a managed service is listed. I created a managed service that was listed as a count next to the Hosted service option. To create a new service, you can click on the "Hosted service,storage account & CDN" option.

You can create a new managed service

I have created a managed service called "Firstapplication". Here we deploy a asp.net Web application in this managed service.

Click "Firstapplication" and click "New Staging Deployment" above.

Note that the "DebugMode" here is the name of my subscription.

After clicking on the "New staging Deployment" in the top Ribbon, the following window pops up.

We need to provide the name of the deployment, and then we need to browse to the package file and configuration file. We created and packaged a asp.net application on the local system. So we can choose the "Browse locally" option. If our profile and package files are in some memory (for example, BLOBs), then we can choose the "Browse Storage" option.

During local browsing, provide the exact path to your package file and configuration file.

The deployment name we provide is "Test1demo". When you browse to a package file and a configuration file, click the "OK" button.

When I clicked on the "OK" button, I got the following warning.

When I clicked "See More Details", I saw this warning about only one instance of the Web role.

If you want to increase the number of instances of the Web role yourself, you can ignore this warning and click Yes.

If you click OK, you can see some change information about the various deployment phases.

After a while, you will see the "Ready" message as shown below.

Your application is now hosted on Azure's staging server. Click on the deployment name (in this case, the deployment name is "Test1demo"). After clicking on the deployment name, click the URL of the DNS server in the "Properties" tab and open the ASP.net Web application hosted in Azure in a browser.

Original name: Windows Azure for developers Task 6:hosting asp.net creator in New Silverlight based Azure Portal Author: Dhananjay Kumar

"This article is 51CTO selected translations, reproduced please indicate the source!" 】

"Edit Recommendation"

Microsoft announces cloud computing Platform Azure toll model details Cloud computing is meant to be long term, Microsoft Cloud Computing Services Windows Azure has enabled technical dialysis: Windows Azure Platform Framework with Microsoft Windows Azure Platform Technology Analytics Approaching Microsoft Cloud: SQL Server to Azure data synchronization when Microsoft Azure encounters Amazon EC2: five key differences Windows Azure cloud computing platform adds five features cloud future bright azure users break 31000 How to deploy an application to Windows In Azure

"Responsible editor: Wang Yong TEL: (010) 68476606"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.