Skip to content
Docs Try Aspire

RavenDBServerSettings Properties

Class Properties 5 members
Represents the settings for configuring a RavenDB server resource.
Gets the licensing options configured for the server.
public LicensingOptions? LicensingOptions { get; }
Port Section titled Port nullable int?
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; }
ServerUrl Section titled ServerUrl nullable string?
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; }
TcpPort Section titled TcpPort nullable int?
Optional port to expose for the TCP endpoint (data / cluster traffic). If not set, the default 38888 is used.
public int? TcpPort { get; set; }