What is ServiceDefinition.csdef file?

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

This is definition file for the cloud service. This file contains setting like bindings, settings etc.It also contains the information about the EndPoints and the default port number.
<?xml version="1.0" encoding="utf-8"?>

<ServiceDefinition name="AzureCloudService3" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2015-04.2.6">
<WebRole name="WebRole1" vmsize="Small">
<Site name="Web">
<Binding name="Endpoint1" endpointName="Endpoint1" />
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" />
<InputEndpoint name="Endpoint1" protocol="http" port="80" />

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response