DbxConnectionConfig
Classsealednet10.0
Represents a database connection configuration for dbx.
namespace Aspire.Hosting.ApplicationModel;
public sealed class DbxConnectionConfig{ // ...}23 members
Constructors1
Section titled ConstructorsProperties22
Section titled PropertiesConnectionStringget; setstring?Gets or sets an explicit connection string, overriding individual fields.
ConnectTimeoutSecsget; setulongGets or sets the connection timeout in seconds.
Databaseget; setstring?Gets or sets the database name.
DbTypeget; setGets or sets the database type.
Hostget; setstringGets or sets the host address.
Idget; setstringGets or sets the unique identifier for the connection.
JdbcDriverClassget; setstring?Gets or sets the JDBC driver class.
JdbcDriverPathsget; setList<string>Gets or sets the JDBC driver paths.
Nameget; setstringGets or sets the display name of the connection.
Passwordget; setstringGets or sets the password for authentication.
Portget; setushortGets or sets the port number.
QueryTimeoutSecsget; setulongGets or sets the query timeout in seconds.
RedisClusterNodesget; setstring?Gets or sets the Redis cluster nodes (comma-separated).
RedisConnectionModeget; setstring?Gets or sets the Redis connection mode (e.g. "standalone", "sentinel", "cluster").
RedisSentinelMasterget; setstring?Gets or sets the Redis Sentinel master name.
RedisSentinelNodesget; setstring?Gets or sets the Redis Sentinel nodes (comma-separated).
RedisSentinelPasswordget; setstring?Gets or sets the Redis Sentinel password.
RedisSentinelTlsget; setboolGets or sets whether TLS is enabled for Redis Sentinel.
RedisSentinelUsernameget; setstring?Gets or sets the Redis Sentinel username.
Sslget; setboolGets or sets whether SSL is enabled.
UrlParamsget; setstring?Gets or sets optional URL parameters.
Usernameget; setstringGets or sets the username for authentication.