Skip to content

Instantly share code, notes, and snippets.

@nickheppleston
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickheppleston/4a25882c31daf815c1a3 to your computer and use it in GitHub Desktop.
Save nickheppleston/4a25882c31daf815c1a3 to your computer and use it in GitHub Desktop.
Azure Worker Role ServiceDefinition.csdef with Local Storage
<?xml version="1.0" encoding="utf-8"?>
<ServiceDefinition name="MessageWorker" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2014-06.2.4">
<WorkerRole name="MessageWorker.WorkerRole" vmsize="Small">
<Imports>
<Import moduleName="Diagnostics" />
<Import moduleName="RemoteAccess" />
<Import moduleName="RemoteForwarder" />
</Imports>
<ConfigurationSettings>
<Setting name="ServiceBusConnectionString" />
<Setting name="StorageConnectionString" />
<Setting name="MinimumLogLevel" />
</ConfigurationSettings>
<LocalResources>
<LocalStorage name="DiagnosticStore" cleanOnRoleRecycle="false" sizeInMB="8192" />
<LocalStorage name="CustomLogs" cleanOnRoleRecycle="false" sizeInMB="1024" />
</LocalResources>
</WorkerRole>
</ServiceDefinition>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment