How do you configure a Web App's scalability and diagnostics using Visual Studio?

In Azure, you can create a Web App, deploy to Azure and configure it using the Portal.

But, is there a way to get more configuration options for a Web App's scalability and diagnostics without having to use just the portal? Can this be also done in Visual Studio?





September 2nd, 2015 10:12pm

Instead of simply deploying a Web App, you can create a Cloud Service with a Web Role.

This will allow you to edit many configuration settings in Visual Studio, including the following:

  • Instance Count
  • VM Size
  • Enable Diagnostics
  • Certificates
For more information, refer to the following documentation:

How to: Configure an Azure Cloud Service Project with Visual Studio
https://msdn.microsoft.com/en-us/library/azure/hh369933.aspx

How to: Configure the Roles for an Azure Cloud Service with Visual Studio
https://msdn.microsoft.com/en-us/library/azure/hh369931.aspx?f=255&MSPPError=-2147217396

Free Windows Admin Tool Kit Click here and download it now
September 2nd, 2015 10:14pm

Your answer is not really related to the question, which is about Web Apps. There is in fact a way to set arbitrary IIS settings with Web Apps, even if they're not directly available in the portal. See here for details.
September 2nd, 2015 11:05pm

Good point, David.

FYI, I recently helped a customer with the Cloud Service configuration for a web app, so I wanted to post it on MSDN as a self-answered question to help others as well. I'll rephrase the question to clarify it.

Thanks,

Shahed

Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2015 12:17pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics