Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 629561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:45:35+00:00 2026-05-13T19:45:35+00:00

I need a walkthrough or steps of how to deploy ASP.NET Website on Windows

  • 0

I need a walkthrough or steps of how to deploy ASP.NET Website on Windows Azure.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T19:45:35+00:00Added an answer on May 13, 2026 at 7:45 pm

    Here are the steps to deploy ASP.NET Website on Windows Azure.

    Assumptions –>
    1. You have already created an ASP.Net website.

    Step 1: Install following things on your machine

    1. Windows Azure SDK(http://www.microsoft.com/downloads/details.aspx?FamilyID=aa40f3e2-afc5-484d-b4e9-6a5227e73590&displaylang=en
      )

    2. Windows Azure Tools for Visual Studio 2008/2010(http://www.microsoft.com/downloads/details.aspx?familyid=5664019E-6860-4C33-9843-4EB40B297AB6&displaylang=en )

    —————————————————————————————–

    Step 2: Open Visual Studio and say New>Project and then select project type cloud from Visual C# and select Windows Azure Cloud Service template.
    alt text

    Give name to your project. Select Location for the same and Click on OK button

    —————————————————————————————–

    Step 3: In New Cloud Service Project window select ASP.Net Web role and click on [>] button and say OK

    alt text

    —————————————————————————————–

    Step 4: Solution explorer will look like this–>

    alt text

    —————————————————————————————–

    Step 5: Right click on WebRole1 project from solution explorer and Click on Remove

    alt text

    —————————————————————————————–

    Step 5: After removing WebRole1 project from solution explorer

    alt text

    —————————————————————————————–

    Step 6: Now right click on Solution explorer and say Add>Existing Project and add your existing ASP.Net application to solution exlorer.

    alt text

    —————————————————————————————–

    Step 7: After adding your existing ASP.Net application to solution exlorer.

    alt text

    —————————————————————————————–

    Step 8: Right Click on CloudService1>Roles>No Project associated(WebRole1) and then say Associate With>Web Role project in solution

    alt text

    —————————————————————————————–

    Step 9: Select your existing ASP.Net Web Application in solution explorer and say OK

    alt text

    —————————————————————————————–

    Step 10: Now Hit F5 to run your cloud service.

    And see the task bar. You will notice–> alt text

    And now your ASP.Net web application will run on local Developement Fabric.
    Your ASP.Net cloud service is still NOT ready for deploying on Windows Azure.

    alt text

    —————————————————————————————–

    Step 11: Now if you are using Third party DLLs in your ASP.Net Web Application then create a folder named Shared under solution explorer. And add all the 3rd party DLLs in that.

    —————————————————————————————–

    Step 12: Now go to myExistingASP.NetwebSite>References> and add the 3rd party references from Shared folder created in step 11. Now select all the references added just now and set their ‘Copy Local’ property to true

    —————————————————————————————–

    Step 13: If your are using session state in your ASP.Net web app then you need to use AspProvider for session state management.The Windows Azure SDK which you have installed contains a sample with session provider implementation (its having same functionality as the corresponding SQL provider. Please see the AspProvider sample and the AspProviderDemo for an example of how to use it.)

    —————————————————————————————–

    Step 14: Make sure you catch every exception during initialization of web application and log it properly.

    —————————————————————————————–

    Step 15: If you are using Certificate in your ASP.Net application then for your certificate to work in the cloud it needs to have exportable private key. Certificates without exportable private key are not supported. If you use Windows Certificates Manager you need to make sure to select “Yes, export the private key” option while exporting the certificate.

    —————————————————————————————–

    Step 16: Make sure that your web.config or app.config does not contain malformed xml.

    —————————————————————————————–

    Step 17: Now your application is ready for deploying it on Windows Azure.

    —————————————————————————————–

    Step 18: Now go to Solution Explorer and right-click the cloud project(CloudService1) and say Publish.

    alt text

    —————————————————————————————–

    Step 19: The publish folder for your application will open in Windows Explorer, showing a package file and a config file.

    alt text

    —————————————————————————————–

    Step 20: Now what you need is Windows Azure Account. So get an Azure Account and log into that. Either create a new project on the portal or select an existing one. Then you will see Production environment on left side and Staging environment on right side.

    alt text

    —————————————————————————————–

    Step 21: Now Click on the Deploy button under Stagging. Now will be able to see following form.

    alt text

    —————————————————————————————–

    Step 22: Browse the CloudService1.cspkg file.

    alt text

    —————————————————————————————–

    Step 23: Browse the ServiceConfiguration.cscfg file.

    alt text

    —————————————————————————————–

    Step 24: Once both files have been selected, give name to this deployment and Click on Deploy button.

    alt text

    —————————————————————————————–

    Step 25: Then it will try to copy the files.
    alt text

    —————————————————————————————–

    Step 26: Then it will try to enable the deployment

    alt text

    —————————————————————————————–

    Step 27: Once deployment is enabled click on Run button.

    alt text

    —————————————————————————————–

    Step 28: Then deployment will go through following three states.

    alt text

    alt text –>alt text –> alt text

    Once you get ready state you are through. 🙂
    Click on “Web Site URL” and your cloud app will open in new browser window.

    Please let me know if you get following loop

    Initializing —> Busy –> Stopping —> Initializing–> so on..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating my first ASP.Net MVC3 Application using Azure as DB Storage. There
need ask you about some help. I have web app running in Net 2.0.
I need a site that does a decent walkthrough on getting one of the
For my website navigation I need to add the class 'active' to the li
From Secrets of the Javascript Ninja (great walkthrough btw): // We need to make
I have an ASP.NET MVC 3 project that I just created using the project
According to Professional ASP.NET MVC 1.0 , page 8, If you are using VS
I am creating this windows service by following the instructions at MSDN Walkthrough: Creating
Need to parse a Class declaration line in Java using regular expression e.g. String
Need help. It may be weird. First activity has listview(like lazyadapter) once i click

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.