ConnectionPropertyAnnotation
Classsealednet10.0
Annotation that creates a custom connection property value injected into environment variables when a resource is referenced using
WithReference(). namespace Aspire.Hosting.ApplicationModel;
public sealed class ConnectionPropertyAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation{ // ...}Constructors1
Section titled Constructors Initializes a new instance of the ConnectionPropertyAnnotation class with the specified property name and reference expression.
Properties2
Section titled PropertiesView all properties