Skip to content
Docs Try Aspire

ConnectionPropertyAnnotation

Class sealed net8.0
📦 Aspire.Hosting v13.2.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
{
// ...
}