16 instantiations of EndpointReference
Aspire.Hosting (3)
Aspire.Hosting.Azure.Tests (1)
Aspire.Hosting.Elasticsearch (2)
Aspire.Hosting.Milvus (1)
Aspire.Hosting.MySql (1)
Aspire.Hosting.Oracle (1)
Aspire.Hosting.PostgreSQL (1)
Aspire.Hosting.Qdrant (2)
Aspire.Hosting.RabbitMQ (1)
Aspire.Hosting.SqlServer (1)
Aspire.Hosting.Tests (2)
112 references to EndpointReference
Aspire.Hosting (23)
ResourceBuilderExtensions.cs (9)
136public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, EndpointReference endpointReference) where T : IResourceWithEnvironment
310foreach (var endpoint in annotation.Resource.GetEndpoints())
418public static IResourceBuilder<TDestination> WithReference<TDestination>(this IResourceBuilder<TDestination> builder, EndpointReference endpointReference)
540var endpointReference = new EndpointReference(resourceWithEndpoints, annotation);
618/// Gets an <see cref="EndpointReference"/> by name from the resource. These endpoints are declared either using <see cref="WithEndpoint{T}(IResourceBuilder{T}, int?, int?, string?, string?, string?, bool, bool?)"/> or by launch settings (for project resources).
619/// The <see cref="EndpointReference"/> can be used to resolve the address of the endpoint in <see cref="WithEnvironment{T}(IResourceBuilder{T}, Action{EnvironmentCallbackContext})"/>.
624/// <returns>An <see cref="EndpointReference"/> that can be used to resolve the address of the endpoint after resource allocation has occurred.</returns>
625public static EndpointReference GetEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string name) where T : IResourceWithEndpoints
858var endpoint = builder.Resource.GetEndpoint(endpointName);
Aspire.Hosting.Azure (5)
Aspire.Hosting.Azure.AppContainers (1)
Aspire.Hosting.Azure.CosmosDB (2)
Aspire.Hosting.Azure.EventHubs (3)
Aspire.Hosting.Azure.Functions (2)
Aspire.Hosting.Azure.Storage (7)
Aspire.Hosting.Azure.Tests (9)
Aspire.Hosting.Dapr (7)
Aspire.Hosting.Elasticsearch (4)
Aspire.Hosting.Garnet (2)
Aspire.Hosting.Kafka (5)
Aspire.Hosting.Milvus (2)
Aspire.Hosting.MongoDB (2)
Aspire.Hosting.MySql (3)
Aspire.Hosting.Nats (2)
Aspire.Hosting.Oracle (1)
Aspire.Hosting.PostgreSQL (4)
Aspire.Hosting.Qdrant (4)
Aspire.Hosting.RabbitMQ (1)
Aspire.Hosting.Redis (4)
Aspire.Hosting.Redis.Tests (1)
Aspire.Hosting.Seq (2)
Aspire.Hosting.SqlServer (1)
Aspire.Hosting.Testing (3)
Aspire.Hosting.Tests (9)
Aspire.Hosting.Valkey (2)
Stress.AppHost (1)