Skip to content
Docs Try Aspire

ConnectionStringResource Constructors

Class Constructors 1 member
Adds a connection string to the distributed application a resource with the specified expression.
Constructor(string, ReferenceExpression) Section titled Constructor(string, ReferenceExpression)
Adds a connection string to the distributed application a resource with the specified expression.
public sealed class ConnectionStringResource
{
public ConnectionStringResource(
string name,
ReferenceExpression connectionStringExpression)
{
// ...
}
}
name string The name of the resource.
connectionStringExpression ReferenceExpression The connection string expression.