ConnectionStringReference Class  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a reference to a connection string.
public class ConnectionStringReference : Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferencestype ConnectionStringReference = class
    interface IManifestExpressionProvider
    interface IValueProvider
    interface IValueWithReferencesPublic Class ConnectionStringReference
Implements IManifestExpressionProvider, IValueProvider, IValueWithReferences- Inheritance
- 
				ConnectionStringReference
- Implements
Constructors
| ConnectionStringReference(IResourceWithConnectionString, Boolean) | Represents a reference to a connection string. | 
Properties
| Optional | A flag indicating whether the connection string is optional. | 
| Resource | The resource that the connection string is referencing. | 
Explicit Interface Implementations
| IManifestExpressionProvider.ValueExpression | |
| IValueProvider.GetValueAsync(CancellationToken) | |
| IValueWithReferences.References | 
Extension Methods
| AsProvisioningParameter(IManifestExpressionProvider, AzureResourceInfrastructure, String, Nullable<Boolean>) | Creates a new ProvisioningParameter in  | 
| AsEnvironmentPlaceholder(IManifestExpressionProvider, DockerComposeServiceResource) | Creates a placeholder for an environment variable in the Docker Compose file. |