You are currently browsing legacy 4.0 version of documentation. Click here to switch to the newest 5.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Operations: How to Put Client Configuration

PutClientConfigurationOperation is used to save a client configuration on the server. It allows you to override client's settings remotely.


public PutClientConfigurationOperation(ClientConfiguration configuration)
Return Value
configuration ClientConfiguration configuration which will be used by client API


ClientConfiguration clientConfiguration = new ClientConfiguration
    MaxNumberOfRequestsPerSession = 100,
    ReadBalanceBehavior = ReadBalanceBehavior.FastestNode

store.Maintenance.Send(new PutClientConfigurationOperation(clientConfiguration));