Skip to content
DocsTry Aspire
DocsTry

DbxConnectionConfig

Classsealednet10.0
📦 CommunityToolkit.Aspire.Hosting.Dbx v13.4.1-beta.706
Represents a database connection configuration for dbx.
namespace Aspire.Hosting.ApplicationModel;
public sealed class DbxConnectionConfig
{
// ...
}
View all constructors
ConnectionStringget; set
string?
Gets or sets an explicit connection string, overriding individual fields.
ConnectTimeoutSecsget; set
ulong
Gets or sets the connection timeout in seconds.
Databaseget; set
string?
Gets or sets the database name.
DbTypeget; set
Gets or sets the database type.
Hostget; set
string
Gets or sets the host address.
Idget; set
string
Gets or sets the unique identifier for the connection.
JdbcDriverClassget; set
string?
Gets or sets the JDBC driver class.
JdbcDriverPathsget; set
List<string>
Gets or sets the JDBC driver paths.
Nameget; set
string
Gets or sets the display name of the connection.
Passwordget; set
string
Gets or sets the password for authentication.
Portget; set
ushort
Gets or sets the port number.
QueryTimeoutSecsget; set
ulong
Gets or sets the query timeout in seconds.
RedisClusterNodesget; set
string?
Gets or sets the Redis cluster nodes (comma-separated).
RedisConnectionModeget; set
string?
Gets or sets the Redis connection mode (e.g. "standalone", "sentinel", "cluster").
RedisSentinelMasterget; set
string?
Gets or sets the Redis Sentinel master name.
RedisSentinelNodesget; set
string?
Gets or sets the Redis Sentinel nodes (comma-separated).
RedisSentinelPasswordget; set
string?
Gets or sets the Redis Sentinel password.
RedisSentinelTlsget; set
bool
Gets or sets whether TLS is enabled for Redis Sentinel.
RedisSentinelUsernameget; set
string?
Gets or sets the Redis Sentinel username.
Sslget; set
bool
Gets or sets whether SSL is enabled.
UrlParamsget; set
string?
Gets or sets optional URL parameters.
Usernameget; set
string
Gets or sets the username for authentication.
View all properties