共用方式為


Selecting a Service Information Store

Retired Content

This content and the technology described is outdated and is no longer being maintained. For more information, see Transient Fault Handling.

patterns & practices Developer Center

On this page:
Using Microsoft Azure Blob Storage | Using Local File Storage

You can configure the Autoscaling Application Block to service information in Azure blob storage (typically when you are hosting the block in Azure), in a local file (typically when you are hosting the block in an on-premises application), or in a custom location.

Using Azure Blob Storage

To store the service information in a Azure blob, you should use the BlobXmlFileServiceInformationStore class in the serviceInformationStores element when you configure the block. If you use this service information store, you will also need to provide the names of the blob, the blob container, and the storage account in your configuration data.

You can use a Azure blob to store your service information when you host the block in Azure or in an on-premises application.

Using Local File Storage

To store the service information in a local file, you should use the LocalXmlFileServiceInformationStore class in the serviceInformationStores element when you configure the block. If you use this rules store, you will also need to provide the name of the file in your configuration data.

You can use a local file to store your service information when you host the block in an on-premises application.

Next Topic | Previous Topic | Home

Last built: June 7, 2012