You develop a service that runs on a worker role in Azure…..

You develop a service that runs on a worker role in Azure. The service caches a large amount of data from a database at startup. The service has a configuration file that includes two settings named ConnectionString and Sleep Interval. The service must restart when the value of the Connection String setting changes. The service must NOT restart when the value of the Sleep Interval setting changes. You have the following code. Line numbers are for reference only.

You need to configure the service. Which code segment should you insert at line 21?

A. Option A
B. Option B
C. Option C
D. Option D

Sharing is caring!

Leave a Reply

Your email address will not be published. Required fields are marked *