Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

configs

By: loonerz on Jan 2nd, 2013  |  syntax: XML  |  size: 3.27 KB  |  views: 30  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ServiceConfiguration.Local.cscfg:
  2.  
  3.     <?xml version="1.0" encoding="utf-8"?>
  4.     <ServiceConfiguration serviceName="SiteMonitR.Azure" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="1" osVersion="*" schemaVersion="2012-10.1.8">
  5.       <Role name="SiteMonitR.WorkerRole">
  6.         <Instances count="1" />
  7.         <ConfigurationSettings>
  8.           <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
  9.           <Setting name="GUI_URL" value="http://localhost:4200" />
  10.           <Setting name="SiteMonitRConnectionString" value="UseDevelopmentStorage=true" />
  11.         </ConfigurationSettings>
  12.       </Role>
  13.       <Role name="SiteMonitR.Web">
  14.         <Instances count="1" />
  15.         <ConfigurationSettings>
  16.           <Setting name="GUI_URL" value="http://localhost:4200" />
  17.           <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
  18.         </ConfigurationSettings>
  19.       </Role>
  20.     </ServiceConfiguration>
  21.  
  22. ServiceConfiguration.Cloud.cscfg:
  23.  
  24.     <?xml version="1.0" encoding="utf-8"?>
  25.     <ServiceConfiguration serviceName="SiteMonitR.Azure" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="1" osVersion="*" schemaVersion="2012-10.1.8">
  26.       <Role name="SiteMonitR.WorkerRole">
  27.         <Instances count="1" />
  28.         <ConfigurationSettings>
  29.           <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
  30.           <Setting name="GUI_URL" value="http://localhost:4200" />
  31.           <Setting name="SiteMonitRConnectionString" value="UseDevelopmentStorage=true" />
  32.         </ConfigurationSettings>
  33.       </Role>
  34.       <Role name="SiteMonitR.Web">
  35.         <Instances count="1" />
  36.         <ConfigurationSettings>
  37.           <Setting name="GUI_URL" value="http://localhost:4200" />
  38.           <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
  39.         </ConfigurationSettings>
  40.       </Role>
  41.     </ServiceConfiguration>
  42.  
  43. ServiceDefinition.csdef:
  44.     <?xml version="1.0" encoding="utf-8"?>
  45.     <ServiceDefinition name="SiteMonitR.Azure" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2012-10.1.8">
  46.       <WorkerRole name="SiteMonitR.WorkerRole" vmsize="Small">
  47.         <Imports>
  48.           <Import moduleName="Diagnostics" />
  49.         </Imports>
  50.         <ConfigurationSettings>
  51.           <Setting name="GUI_URL" />
  52.           <Setting name="SiteMonitRConnectionString" />
  53.         </ConfigurationSettings>
  54.       </WorkerRole>
  55.       <WebRole name="SiteMonitR.Web" vmsize="Small">
  56.         <Sites>
  57.           <Site name="Web">
  58.             <Bindings>
  59.               <Binding name="Endpoint1" endpointName="Endpoint1" />
  60.             </Bindings>
  61.           </Site>
  62.         </Sites>
  63.         <Endpoints>
  64.           <InputEndpoint name="Endpoint1" protocol="http" port="80" />
  65.         </Endpoints>
  66.         <Imports>
  67.           <Import moduleName="Diagnostics" />
  68.         </Imports>
  69.         <ConfigurationSettings>
  70.           <Setting name="GUI_URL" />
  71.         </ConfigurationSettings>
  72.       </WebRole>
  73.     </ServiceDefinition>