Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

ReferenceEnvironmentInjectionAnnotation

Classsealednet10.0
📦 Aspire.Hosting v13.5.4
Annotation that specifies which connection and endpoint information should be injected into environment variables when a resource is referenced using WithReference().
namespace Aspire.Hosting.ApplicationModel;
public sealed class ReferenceEnvironmentInjectionAnnotation
: Aspire.Hosting.ApplicationModel.IResourceAnnotation
{
// ...
}