web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :

How to deploy an ASP.NET web application to Windows Azure

Community Member Profile Picture Community Member

This article demonstrates how to deploy an ASP.NET web application to Windows Azure by using Publish Web wizard in Visual Studio 2012.

Step 1: Create a Windows Azure website. Login to Windows Azure Management Portal, click on Web Sites and then click New (see Fig. 1).

Click on Web Sites and then click New

(Fig. 1)

Click to Enlarge

Step 2: Click on Quick Create (see Fig. 2).

Click on Quick Create (see Fig. 2).

(Fig. 2)

Click to Enlarge

Step 3: In the Create Web Site step of the wizard, specify a string in the URL box and from the Region drop down, select the region that is closest to you (see Fig. 3).

In the Create Web Site step of the wizard

(Fig. 3)

Click to Enlarge

Step 4: Website is created successfully (see Fig. 4).

Website is created successfully

(Fig. 4)

Click to Enlarge

Step 5: Now Download the publish profile after clicking on the psmdemo website (see Fig. 5).

Now Download the publish profile after clicking on the psmdemo website

(Fig. 5)

Click to Enlarge

Step 6: Create an ASP.NET web application using Visual Studio 2012.
Step 7: Open Visual Studio 2012, go to File -> New and then click on Project (see Fig. 6).

Open Visual Studio 2012, go to File -> New and then click on Project

(Fig. 6)

Click to Enlarge

Step 8: In the New Project dialog window, expand “Visual C#” and select Web and then select “ASP.NET Web Forms Application”.
Step 9: Select “.Net Framework 4.5” as the target framework.
Step 10: Specify the name of the application “PSMDemo” and click Ok (see Fig. 7).

(Fig. 7)

Click to Enlarge

Step 11: Build and run the application locally (see Fig. 8).

Build and run the application locally (see Fig. 8)

(Fig. 8)

Click to Enlarge

Step 12: Now deploy the web application on Windows Azure using Publish Web wizard.
Step 13: In Visual Studio, right click on the Solution explorer and click on the Publish (see Fig. 9).

In Visual Studio, right click on the Solution explorer and click on the Publish (see Fig. 9)

(Fig. 9)

Click to Enlarge

Step 14: In the Profile tab of the Publish Web wizard, click Import and browse the file which you downloaded at step #5 and click Next (see Fig. 10).

n the Profile tab of the Publish Web wizard

(Fig. 10)

Click to Enlarge

Step 15: In the Connection tab, click Validate Connection to make sure that the settings are correct and if the connection has been validated, green check mark is shown next to the Validate Connection button and click Next (see Fig. 11).

Next to the Validate Connection button and click Next (see Fig. 11)

(Fig. 11)

Click to Enlarge

Step 16: In the Settings tab, uncheck “Use this connection string at runtime” option and click Next (see Fig. 12).

Use this connection string at runtime

(Fig. 12)

Click to Enlarge

Step 17: In the Preview tab, click “Start Preview” (see Fig. 13).

(Fig. 13)

Click to Enlarge

Step 18: The tab will display the list of the files that will be copied to the server and click Publish (see Fig. 14).

Publish web application

(Fig. 14)

Click to Enlarge

Step 19: Once all the files published successfully, the default browser automatically opens to the URL of the deployed web site (see Fig. 15).

The default browser automatically opens to the URL of the deployed web site

(Fig. 15)
Click to Enlarge

For more details on Windows Azure deployment you can click on this link.

To get more information about CRM consulting services visit – http://www.cloudfronts.com/microsoft-dynamics-crm-consulting.html

Corporate Office Address:
CloudFronts Technologies LLP
T-5 Satyam Business Centre, A Wing.
M.G.Road, Ghatkopar E.
Mumbai 400077, INDIA
Phone: +91 92 2358 3878

USA Partner:
Deven Tech Corporation
50 Glenn Oaks Ct
Old Bridge , NJ 08857


This was originally posted here.

Comments

*This post is locked for comments