After I installed the latest Azure SDK for .Net - October 2012 , I cannot change the ServiceDefinition.csdef file.
B'cos I need to comment on this line <!--<Binding name="HttpsIn" endpointName="HttpsIn" hostHeader="www.pawloyalty.com" />--> .
After compilation, He gives the following message. Although the message says that the file was modified outside the original editor. In fact, I did inside the source editor (since vs 2010 ).

The ServiceDefinition.csdef file looks below
<?xml version="1.0" encoding="utf-8"?> <ServiceDefinition name="PawLoyalty.Web.Azure" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2012-10.1.8"> <WebRole name="PawLoyalty.Web" vmsize="Medium"> <Startup priority="-2"> <Task commandLine="startuptasks/settime.cmd" executionContext="elevated" taskType="simple" /> <Task commandLine="Microsoft.WindowsAzure.Caching\ClientPerfCountersInstaller.exe install" executionContext="elevated" taskType="simple" /> <Task commandLine="Microsoft.WindowsAzure.Caching\ClientPerfCountersInstaller.exe install" executionContext="elevated" taskType="simple" /> </Startup> <Sites> <Site name="Web"> <Bindings> <Binding name="HttpIn" endpointName="HttpIn" hostHeader="www.pawloyalty.com" /> <Binding name="HttpsIn" endpointName="HttpsIn" hostHeader="www.pawloyalty.com" /> </Bindings> </Site> </Sites> <ConfigurationSettings> <Setting name="Blob" /> <Setting name="CDN" /> <Setting name="ConnectionString" /> <Setting name="Microsoft.WindowsAzure.Plugins.Caching.ClientDiagnosticLevel" /> </ConfigurationSettings> <Endpoints> <InputEndpoint name="HttpIn" protocol="http" port="80" /> </Endpoints> <Certificates></Certificates> <Imports> <Import moduleName="Diagnostics" /> <Import moduleName="RemoteAccess" /> <Import moduleName="RemoteForwarder" /> <Import moduleName="Caching" /> </Imports> <LocalResources> <LocalStorage name="ExcelStorage" cleanOnRoleRecycle="false" sizeInMB="250" /> <LocalStorage name="Microsoft.WindowsAzure.Plugins.Caching.FileStore" sizeInMB="1000" cleanOnRoleRecycle="false" /> <LocalStorage name="DiagnosticStore" sizeInMB="20000" cleanOnRoleRecycle="false" /> </LocalResources> </WebRole> </ServiceDefinition>
What for?
How can I modify the ServiceDefinition.csdef file?
source share