Prerequisites
- Microsoft Azure Subscription (MSDN subscribers or sign up for one month free trial)
- Visual Studio 2013 or Visual Studio 2015 with Microsoft Azure SDK 2.2 or later.
- Remote Debugging of Azure Web App.
Step 2: If empty project is selected please add one WebForm page in project.
Step 3: Add below code in WebForm1.aspx,
- <body>
- <form id="form1" runat="server">
- <div>
- <asp:Button ID="btnClick" Text="Click Me" OnClick="btnClick_Click" runat="server" />
- <asp:Label ID="lbl1" runat="server" />
- </div>
- </form>
- </body>
- protected void btnClick_Click(object sender, EventArgs e)
- {
- string mytext = "Microsoft Azure";
- lbl1.Text = mytext;
- }
Step 5: Right click on Project name & select “Publish” option,
Step 6: Select publish target - Microsoft Azure Web Apps,
Step 7: Select existing web app from list or create new web app.
Step 8: Click on Next button,
Step 9: Change Configuration to “Debug”,
Step 10: Click on Publish button,
Wait for uploading website on azure.
Step 11: When Azure Web App will run Open “Server Explorer” from Visual Studio,
Remote debugging will add on particular web app & automatically web app will open in browser.
Congratulations! You have successfully debuged the website which is hosted on Microsoft Azure!
Read more articles on Azure:










Sandeep ChPosted Aug 29, 2016, 1:55 AM
Thanks for sharing, your article helped today and Great explanation with nice screen shots.
Amit DavePosted May 3, 2016, 10:35 AM
Keep up the Good work!
Sonu ChaudharyPosted May 2, 2016, 6:09 AM
Thanks for sharing
Nitin PanditPosted May 1, 2016, 12:16 AM
really great info :)
Kuppurasu NagarajPosted Apr 30, 2016, 2:28 PM
Nice Sharing..
Mohammed IbrahimPosted Apr 29, 2016, 12:48 PM
nice
Debasis SahaPosted Apr 29, 2016, 9:07 AM
Good One..
Vignesh ManiPosted Apr 29, 2016, 8:35 AM
Nice one
Gowtham RajamanickamPosted Apr 29, 2016, 7:50 AM
good article
Bhuvanesh MohankumarPosted Apr 29, 2016, 7:15 AM
simple and good
Rahul Kumar SaxenaPosted Apr 29, 2016, 6:42 AM
Good Show