RavenDBServerSettings
Class net10.0
Represents the settings for configuring a RavenDB server resource.
namespace CommunityToolkit.Aspire.Hosting.RavenDB;
public class RavenDBServerSettings{ // ...} 9 members
Properties5
Section titled PropertiesLicensingOptionsget Gets the licensing options configured for the server.
Portget; setint? 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.
ServerUrlget; setstring? The internal URL for the RavenDB server. If not specified, the container resource will automatically assign a random URL.
SetupModeget The setup mode for the server. This determines whether the server is secured, uses Let's Encrypt, or is unsecured.
TcpPortget; setint? Optional port to expose for the TCP endpoint (data / cluster traffic). If not set, the default 38888 is used.
Methods4
Section titled MethodsSecured(string, string, string?, string?, X509Certificate2?)static Creates a secured RavenDB server settings object with the specified configuration.
SecuredWithLetsEncrypt(string, string, string?, string?, X509Certificate2?)static Creates a secured RavenDB server settings object with the specified configuration.
Unsecuredstatic Creates an unsecured RavenDB server settings object with default settings.
WithLicense(string, bool) Configures licensing options for the RavenDB server.