Skip to content
Docs Try Aspire

RavenDBServerResource Properties

Class Properties 7 members
A resource that represents a RavenDB container.
ConnectionStringExpression Section titled ConnectionStringExpression ReferenceExpression
Gets the connection string expression for the RavenDB server, formatted as "http(s)://{Host}:{Port}" depending on the security setting.
public ReferenceExpression ConnectionStringExpression { get; }
Databases Section titled Databases IReadOnlyDictionary<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; }
Host Section titled Host EndpointReferenceExpression
Gets the host endpoint reference for this resource.
public EndpointReferenceExpression Host { get; }
Port Section titled Port EndpointReferenceExpression
Gets the port endpoint reference for this resource.
public EndpointReferenceExpression Port { get; }
PrimaryEndpoint Section titled PrimaryEndpoint EndpointReference
Gets the primary endpoint for the RavenDB server.
public EndpointReference PrimaryEndpoint { get; }
TcpEndpoint Section titled TcpEndpoint EndpointReference
Gets the TCP endpoint for the RavenDB server.
public EndpointReference TcpEndpoint { get; }
UriExpression Section titled UriExpression ReferenceExpression
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.