Client Configuration Options (Velocity)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Selecting the cache client configuration options that are right for your application and cache cluster may depend on several factors when you are using Microsoft project code named "Velocity." This document describes ways that you can specify the cache client configuration settings and what is involved with each method.

Selecting Client Configuration Options

Specifying cache client configuration settings programmatically may be the best choice if configuration options will change while the application is running. For example, you may want to enable local cache for some parts of your application but not use it in others. Also, you may not want to add an application configuration file to your application if there is otherwise no need for one.

Using an application configuration file to specify cache client configuration options may be the best choice if some parameters may change after the application is compiled. For example, if the name of some of your cache hosts changes, you only have to update and resave the client configuration file. If you specify those settings programmatically, you must recompile your application.

Because programmatic configuration of the cache client overrides the XML settings, you may also want to take a hybrid approach. Settings in the application configuration file could be treated as your application's default and you could override those settings with programmatic configuration. Whether or not you set them programmatically depends on whether or not you provide configuration parameters to the constructor of the DataCacheFactory class.

Client Configuration Details

For more details about what is involved in each of the client configuration options, see the following topics.

Topic Description

XML-Based Client Configuration (Velocity)

Describes using XML-based application configuration files to configure your cache client.

Programmatic Client Configuration (Velocity)

Describes programmatically configuring your cache client.

See Also


Application Configuration Settings (Velocity)
Cache Clients and Local Cache (Velocity)
Configuration (Velocity)

Other Resources

Configuring the Cache Client with XML (Velocity)
Using Configuration Methods (Velocity)
Administration Guide (Velocity)