May 2017
Intermediate to advanced
518 pages
10h 6m
English
With the WorkerRole element you define tasks for background processing inside from a WebRoles process. WorkerRoles run in instances without IIS installed.
A template of a WorkerRole element looks as follows:
<ServiceDefinition ...> <WorkerRole name="<worker-role-name>" vmsize="<worker-role-size>" enableNativeCodeExecution="[true | false]"> <Certificates> <Certificate name="<certificate-name>" storeLocation="[CurrentUser | LocalMachine] storeName="[My|Root|CA|Trust|Disallow|TrustedPeople| TrustedPublisher|AuthRoot|AddressBook|<custom-store>]" /> </Certificates> <ConfigurationSettings> <Setting name="<setting-name>" /> </ConfigurationSettings> <Endpoints> <InputEndpoint name="<input-endpoint-name>" protocol="[http | https | tcp ...