Skip to content
DocsTry Aspire
DocsTry

RavenDBServerSettings Properties

ClassProperties6 members
Represents the settings for configuring a RavenDB server resource.
ForceTcpSchemeSection titled ForceTcpSchemenullablebool?
Advanced/debug optional parameter that forces the TCP scheme for the RavenDB server URL. Useful for deployment scenarios with constrained http(s):// schema usage (e.g., only port 80 can use http)
public bool? ForceTcpScheme { get; set; }
Gets the licensing options configured for the server.
public LicensingOptions? LicensingOptions { get; }
PortSection titled Portnullableint?
Optional port to expose for the HTTP endpoint (Studio / REST API). If not set, Aspire will automatically assign a free port on the host at runtime.
public int? Port { get; set; }
ServerUrlSection titled ServerUrlnullablestring?
The internal URL for the RavenDB server. If not specified, the container resource will automatically assign a random URL.
public string? ServerUrl { get; set; }
The setup mode for the server. This determines whether the server is secured, uses Let's Encrypt, or is unsecured.
public SetupMode SetupMode { get; }
TcpPortSection titled TcpPortnullableint?
Optional port to expose for the TCP endpoint (data / cluster traffic). If not set, the default 38888 is used.
public int? TcpPort { get; set; }