Skip to content
DocsTry Aspire
DocsTry

RavenDBServerResource Properties

ClassProperties7 members
A resource that represents a RavenDB container.
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
Gets the connection string expression for the RavenDB server, formatted as "http(s)://{Host}:{Port}" depending on the security setting.
public ReferenceExpression ConnectionStringExpression { get; }
DatabasesSection titled DatabasesIReadOnlyDictionary<string, string>
Gets a read-only dictionary of databases associated with this server resource. The key represents the resource name, and the value represents the database name.
public IReadOnlyDictionary<string, string> Databases { get; }
HostSection titled HostEndpointReferenceExpression
Gets the host endpoint reference for this resource.
public EndpointReferenceExpression Host { get; }
PortSection titled PortEndpointReferenceExpression
Gets the port endpoint reference for this resource.
public EndpointReferenceExpression Port { get; }
PrimaryEndpointSection titled PrimaryEndpointEndpointReference
Gets the primary endpoint for the RavenDB server.
public EndpointReference PrimaryEndpoint { get; }
TcpEndpointSection titled TcpEndpointEndpointReference
Gets the TCP endpoint for the RavenDB server.
public EndpointReference TcpEndpoint { get; }
UriExpressionSection titled UriExpressionReferenceExpression
Gets the connection URI expression for the RavenDB server.
public ReferenceExpression UriExpression { get; }
Format: http://{host}:{port} or https://{host}:{port} depending on security settings.