Skip to content
Docs Try Aspire

RavenDBClientSettings Properties

Class Properties 10 members
Provides the client configuration settings for connecting to a RavenDB database.
Certificate Section titled Certificate nullable X509Certificate2?
The certificate for RavenDB server.
public X509Certificate2? Certificate { get; set; }
CertificatePassword Section titled CertificatePassword nullable string?
The password for the certificate.
public string? CertificatePassword { get; set; }
CertificatePath Section titled CertificatePath nullable string?
The path to the certificate file.
public string? CertificatePath { get; set; }
Gets or sets a value indicating whether a new database should be created if it does not already exist. If set to true and a database with the specified name already exists, the existing database will be used. The default value is false.
public bool CreateDatabase { get; set; }
DatabaseName Section titled DatabaseName nullable string?
The name of the database to connect to.
public string? DatabaseName { get; set; }
DisableHealthChecks Section titled DisableHealthChecks bool
Gets or sets a boolean value that indicates whether RavenDB health check is disabled or not. The default value is false.
public bool DisableHealthChecks { get; set; }
Gets or sets a value indicating whether OpenTelemetry tracing is disabled. The default value is false.
public bool DisableTracing { get; set; }
HealthCheckTimeout Section titled HealthCheckTimeout nullable int?
Gets or sets the timeout in milliseconds for the RavenDB health check.
public int? HealthCheckTimeout { get; set; }
ModifyDocumentStore Section titled ModifyDocumentStore nullable Action<IDocumentStore>
Action that allows modifications of the Documents.IDocumentStore.
public Action<IDocumentStore>? ModifyDocumentStore { get; set; }
Urls Section titled Urls nullable string[]?
The URLs of the RavenDB server nodes.
public string[]? Urls { get; set; }