What is ServiceConfiguration.Cloud.cscfg file?

 Posted by Rajnilari2015 on 10/11/2016 | Category: Azure Interview questions | Views: 2198 | Points: 40
Answer:

This service provides the configuration file for the cloud service and it contains settings for the roles. This file contains the information for the number of instances for the service. Whenever we want to increase the number of instances of the role this configuration is required for changing the instances.
<?xml version="1.0" encoding="utf-8"?>

<ServiceConfiguration serviceName="AzureCloudService3" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="4" osVersion="*" schemaVersion="2015-04.2.6">
<Role name="WebRole1">
<Instances count="1" />
<ConfigurationSettings>
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
</ConfigurationSettings>
</Role>
</ServiceConfiguration>


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response