48 references to EndpointReference
Aspire.Hosting (1)
ApplicationModel\ResourceExtensions.cs (1)
797return new EndpointReference(resource, endpointName);
Aspire.Hosting.Azure.AppConfiguration (1)
AzureAppConfigurationResource.cs (1)
21private EndpointReference EmulatorEndpoint => new(this, "emulator");
Aspire.Hosting.Azure.CosmosDB (1)
AzureCosmosDBResource.cs (1)
29internal EndpointReference EmulatorEndpoint => new(this, "emulator");
Aspire.Hosting.Azure.EventHubs (1)
AzureEventHubsResource.cs (1)
54internal EndpointReference EmulatorEndpoint => new(this, "emulator");
Aspire.Hosting.Azure.Functions (2)
DurableTask\DurableTaskSchedulerResource.cs (2)
34var grpcEndpoint = new EndpointReference(this, "grpc"); 56var dashboardEndpoint = new EndpointReference(this, "dashboard");
Aspire.Hosting.Azure.KeyVault (1)
AzureKeyVaultResource.cs (1)
44internal EndpointReference EmulatorEndpoint => new(this, "https");
Aspire.Hosting.Azure.ServiceBus (1)
AzureServiceBusResource.cs (1)
44internal EndpointReference EmulatorEndpoint => new(this, "emulator");
Aspire.Hosting.Azure.SignalR (1)
AzureSignalRResource.cs (1)
20internal EndpointReference EmulatorEndpoint => new(this, "emulator");
Aspire.Hosting.Azure.Storage (3)
AzureStorageResource.cs (3)
25private EndpointReference EmulatorBlobEndpoint => new(this, "blob"); 26private EndpointReference EmulatorQueueEndpoint => new(this, "queue"); 27private EndpointReference EmulatorTableEndpoint => new(this, "table");
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
446return new EndpointReference(tunnelResource, endpointName)
Aspire.Hosting.Docker (2)
DockerComposeAspireDashboardResource.cs (2)
19public EndpointReference PrimaryEndpoint => new(this, "http"); 24public EndpointReference OtlpGrpcEndpoint => new(this, "otlp-grpc");
Aspire.Hosting.Garnet (1)
GarnetResource.cs (1)
30public EndpointReference PrimaryEndpoint => _primaryEndpoint ??= new(this, PrimaryEndpointName);
Aspire.Hosting.Kubernetes (2)
KubernetesAspireDashboardResource.cs (2)
19public EndpointReference PrimaryEndpoint => new(this, "http"); 24public EndpointReference OtlpGrpcEndpoint => new(this, "otlp-grpc");
Aspire.Hosting.Milvus (1)
MilvusServerResource.cs (1)
37public EndpointReference PrimaryEndpoint => _primaryEndpoint ??= new(this, PrimaryEndpointName);
Aspire.Hosting.MongoDB (1)
MongoDBServerResource.cs (1)
35public EndpointReference PrimaryEndpoint => _primaryEndpoint ??= new(this, PrimaryEndpointName);
Aspire.Hosting.MySql (1)
MySqlServerResource.cs (1)
27PrimaryEndpoint = new(this, PrimaryEndpointName);
Aspire.Hosting.Nats (1)
NatsServerResource.cs (1)
34public EndpointReference PrimaryEndpoint => _primaryEndpoint ??= new(this, PrimaryEndpointName);
Aspire.Hosting.Oracle (1)
OracleDatabaseServerResource.cs (1)
24PrimaryEndpoint = new(this, PrimaryEndpointName);
Aspire.Hosting.PostgreSQL (3)
PgWebContainerResource.cs (1)
21public EndpointReference PrimaryEndpoint => _primaryEndpoint ??= new(this, PrimaryEndpointName);
PostgresMcpContainerResource.cs (1)
21public EndpointReference PrimaryEndpoint => _primaryEndpoint ??= new(this, PrimaryEndpointName);
PostgresServerResource.cs (1)
25PrimaryEndpoint = new(this, PrimaryEndpointName);
Aspire.Hosting.Qdrant (2)
QdrantServerResource.cs (2)
37public EndpointReference PrimaryEndpoint => _primaryEndpoint ??= new(this, PrimaryEndpointName); 52public EndpointReference HttpEndpoint => _httpEndpoint ??= new(this, HttpEndpointName);
Aspire.Hosting.RabbitMQ (2)
RabbitMQServerResource.cs (2)
27PrimaryEndpoint = new(this, PrimaryEndpointName); 40public EndpointReference ManagementEndpoint => _managementEndpoint ??= new(this, ManagementEndpointName);
Aspire.Hosting.Radius.Tests (1)
RadiusEnvironmentResourceTests.cs (1)
62var endpoint = new EndpointReference(container, "http");
Aspire.Hosting.Redis (2)
RedisInsightResource.cs (1)
21public EndpointReference PrimaryEndpoint => _primaryEndpoint ??= new(this, PrimaryEndpointName);
RedisResource.cs (1)
49public EndpointReference PrimaryEndpoint => _primaryEndpoint ??= new(this, PrimaryEndpointName);
Aspire.Hosting.Seq (1)
SeqResource.cs (1)
20public EndpointReference PrimaryEndpoint => _primaryEndpoint ??= new(this, PrimaryEndpointName);
Aspire.Hosting.SqlServer (1)
SqlServerServerResource.cs (1)
24PrimaryEndpoint = new(this, PrimaryEndpointName);
Aspire.Hosting.Tests (12)
Dashboard\DashboardEventHandlersTests.cs (2)
249var httpEndpoint = new EndpointReference(dashboardResource, "http"); 251var otlpGrpcEndpoint = new EndpointReference(dashboardResource, KnownEndpointNames.OtlpGrpcEndpointName);
EndpointReferenceTests.cs (4)
418var endpointRef = new EndpointReference(resource, "https"); 434var endpointRef = new EndpointReference(resource, "https"); 447var endpointRef = new EndpointReference(resource, "https"); 461var endpointRef = new EndpointReference(resource, "https") { ErrorMessage = "custom message" };
ExecutionConfigurationGathererTests.cs (2)
215.WithEnvironment("API_URL", new EndpointReference(target, "https")) 250.WithArgs(ctx => ctx.Args.Add(new EndpointReference(target, "https")))
ExpressionResolverTests.cs (4)
321PrimaryEndpoint = new(this, "http"); 341EndpointReference Endpoint1 => new(this, "endpoint1"); 342EndpointReference Endpoint2 => new(this, "endpoint2"); 343EndpointReference Endpoint3 => new(this, "endpoint3");
Aspire.Hosting.Valkey (1)
ValkeyResource.cs (1)
35public EndpointReference PrimaryEndpoint => _primaryEndpoint ??= new(this, PrimaryEndpointName);