1 interface inheriting from IResourceWithEndpoints
Aspire.Hosting (1)
40 implementations of IResourceWithEndpoints
Aspire.Hosting (3)
Aspire.Hosting.Azure.AppConfiguration (1)
Aspire.Hosting.Azure.CosmosDB (1)
Aspire.Hosting.Azure.EventHubs (1)
Aspire.Hosting.Azure.Functions (1)
Aspire.Hosting.Azure.KeyVault (1)
Aspire.Hosting.Azure.Kusto (1)
Aspire.Hosting.Azure.PostgreSQL (1)
Aspire.Hosting.Azure.Redis (1)
Aspire.Hosting.Azure.ServiceBus (1)
Aspire.Hosting.Azure.SignalR (1)
Aspire.Hosting.Azure.Storage (1)
Aspire.Hosting.Azure.WebPubSub (1)
Aspire.Hosting.Blazor.Tests (1)
Aspire.Hosting.Browsers.Tests (2)
Aspire.Hosting.Foundry (1)
Aspire.Hosting.Maui (1)
Aspire.Hosting.Radius.Tests (1)
Aspire.Hosting.RemoteHost.Tests (1)
Aspire.Hosting.Testing.Tests (1)
Aspire.Hosting.Tests (15)
HealthChecksSandbox.AppHost (1)
Stress.AppHost (1)
184 references to IResourceWithEndpoints
Aspire.Hosting (90)
ApplicationModel\EndpointReference.cs (5)
48public IResourceWithEndpoints Resource { get; }
297public EndpointReference(IResourceWithEndpoints owner, EndpointAnnotation endpoint, NetworkIdentifier? contextNetworkId)
313public EndpointReference(IResourceWithEndpoints owner, EndpointAnnotation endpoint): this(owner, endpoint, null)
329public EndpointReference(IResourceWithEndpoints owner, string endpointName, NetworkIdentifier? contextNetworkId = null)
344public EndpointReference(IResourceWithEndpoints owner, string endpointName): this(owner, endpointName, null)
ResourceBuilderExtensions.cs (39)
1694private static void ApplyEndpoints<T>(this IResourceBuilder<T> builder, IResourceWithEndpoints resourceWithEndpoints, string? endpointName = null, string? name = null)
1765public static IResourceBuilder<T> WithEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string endpointName, Action<EndpointAnnotation> callback, bool createIfNotExists = true) where T : IResourceWithEndpoints
1802internal static IResourceBuilder<T> WithEndpointCallback<T>(this IResourceBuilder<T> builder, [EndpointName] string endpointName, Action<EndpointUpdateContext> callback, bool createIfNotExists = true) where T : IResourceWithEndpoints
1815internal static IResourceBuilder<T> WithHttpEndpointCallback<T>(this IResourceBuilder<T> builder, Action<EndpointUpdateContext> callback, [EndpointName] string? name = null, bool createIfNotExists = true) where T : IResourceWithEndpoints
1827internal static IResourceBuilder<T> WithHttpsEndpointCallback<T>(this IResourceBuilder<T> builder, Action<EndpointUpdateContext> callback, [EndpointName] string? name = null, bool createIfNotExists = true) where T : IResourceWithEndpoints
1835private static IResourceBuilder<T> WithWellKnownEndpointCallback<T>(this IResourceBuilder<T> builder, Action<EndpointUpdateContext> callback, string endpointName, bool createIfNotExists, Action<IResourceBuilder<T>, string> createEndpoint) where T : IResourceWithEndpoints
1866public static IResourceBuilder<T> WithEndpoint<T>(this IResourceBuilder<T> builder, int? port = null, int? targetPort = null, string? scheme = null, [EndpointName] string? name = null, string? env = null, bool? isProxied = null, bool? isExternal = null, ProtocolType? protocol = null) where T : IResourceWithEndpoints
1943public static IResourceBuilder<T> WithEndpoint<T>(this IResourceBuilder<T> builder, int? port, int? targetPort, string? scheme, [EndpointName] string? name, string? env, bool isProxied, bool? isExternal, ProtocolType? protocol) where T : IResourceWithEndpoints
1954private static void ConfigureEndpointEnvironmentVariable<T>(IResourceBuilder<T> builder, EndpointAnnotation endpointAnnotation, string? env) where T : IResourceWithEndpoints
1956if (env is null || builder.Resource is not IResourceWithEndpoints resourceWithEndpoints || builder.Resource is not IResourceWithEnvironment)
1994public static IResourceBuilder<IResourceWithEndpoints> WithEndpointProxySupport(this IResourceBuilder<IResourceWithEndpoints> builder, bool proxyEnabled)
1999internal static IResourceBuilder<T> SetEndpointProxySupport<T>(IResourceBuilder<T> builder, bool proxyEnabled) where T : IResourceWithEndpoints
2028public static IResourceBuilder<T> WithEndpoint<T>(this IResourceBuilder<T> builder, int? port, int? targetPort, string? scheme, [EndpointName] string? name, string? env, bool? isProxied, bool? isExternal) where T : IResourceWithEndpoints
2053public static IResourceBuilder<T> WithEndpoint<T>(this IResourceBuilder<T> builder, int? port, int? targetPort, string? scheme, [EndpointName] string? name, string? env, bool isProxied, bool? isExternal) where T : IResourceWithEndpoints
2078public static IResourceBuilder<T> WithHttpEndpoint<T>(this IResourceBuilder<T> builder, int? port = null, int? targetPort = null, [EndpointName] string? name = null, string? env = null, bool? isProxied = null) where T : IResourceWithEndpoints
2101public static IResourceBuilder<T> WithHttpEndpoint<T>(this IResourceBuilder<T> builder, int? port, int? targetPort, [EndpointName] string? name, string? env, bool isProxied) where T : IResourceWithEndpoints
2126public static IResourceBuilder<T> WithHttpsEndpoint<T>(this IResourceBuilder<T> builder, int? port = null, int? targetPort = null, [EndpointName] string? name = null, string? env = null, bool? isProxied = null) where T : IResourceWithEndpoints
2149public static IResourceBuilder<T> WithHttpsEndpoint<T>(this IResourceBuilder<T> builder, int? port, int? targetPort, [EndpointName] string? name, string? env, bool isProxied) where T : IResourceWithEndpoints
2162public static IResourceBuilder<T> WithExternalHttpEndpoints<T>(this IResourceBuilder<T> builder) where T : IResourceWithEndpoints
2193public static EndpointReference GetEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string name, NetworkIdentifier contextNetworkId) where T : IResourceWithEndpoints
2210public static EndpointReference GetEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string name) where T : IResourceWithEndpoints
2225public static IResourceBuilder<T> AsHttp2Service<T>(this IResourceBuilder<T> builder) where T : IResourceWithEndpoints
2515if (builder.Resource is IResourceWithEndpoints resource)
2563where T : IResourceWithEndpoints
3117/// <typeparam name="T">A resource type that implements <see cref="IResourceWithEndpoints" />.</typeparam>
3146public static IResourceBuilder<T> WithHttpHealthCheck<T>(this IResourceBuilder<T> builder, string? path = null, int? statusCode = null, string? endpointName = null) where T : IResourceWithEndpoints
3160/// <typeparam name="T">A resource type that implements <see cref="IResourceWithEndpoints" />.</typeparam>
3188public static IResourceBuilder<T> WithHttpHealthCheck<T>(this IResourceBuilder<T> builder, Func<EndpointReference>? endpointSelector, string? path = null, int? statusCode = null) where T : IResourceWithEndpoints
3240/// <typeparam name="T">A resource type that implements <see cref="IResourceWithEndpoints" />.</typeparam>
3267public static IResourceBuilder<T> WithHttpsHealthCheck<T>(this IResourceBuilder<T> builder, string? path = null, int? statusCode = null, string? endpointName = null) where T : IResourceWithEndpoints
3986where TResource : IResourceWithEndpoints
4063where TResource : IResourceWithEndpoints
4171where TResource : IResourceWithEndpoints
4789where TResource : IResourceWithEndpoints
4815where TResource : IResourceWithEndpoints
5543where T : IResourceWithEndpoints, IResourceWithProbes
5561where T : IResourceWithEndpoints, IResourceWithProbes
5601where T : IResourceWithEndpoints, IResourceWithProbes
Aspire.Hosting.Azure.ApiManagement (6)
Aspire.Hosting.Azure.AppContainers (2)
Aspire.Hosting.Azure.AppService (2)
Aspire.Hosting.Azure.EntraId (1)
Aspire.Hosting.Azure.FrontDoor (7)
Aspire.Hosting.Azure.Sandboxes (2)
Aspire.Hosting.Blazor (5)
Aspire.Hosting.Browsers (3)
Aspire.Hosting.Browsers.Tests (3)
Aspire.Hosting.Containers.Tests (1)
Aspire.Hosting.DevTunnels (5)
Aspire.Hosting.DevTunnels.Tests (1)
Aspire.Hosting.Docker (1)
Aspire.Hosting.Docker.Tests (2)
Aspire.Hosting.Foundry (17)
HostedAgent\HostedAgentBuilderExtension.cs (15)
51where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
68where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
92where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
112where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
139where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
171where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
202where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
213where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
253where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
262where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
276where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
289where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
441where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
567where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
569if (target is not IResourceWithEndpoints targetWithEndpoints ||
Aspire.Hosting.Foundry.Tests (1)
Aspire.Hosting.JavaScript (1)
Aspire.Hosting.Kubernetes (4)
Aspire.Hosting.Maui (1)
Aspire.Hosting.Orleans (3)
Aspire.Hosting.PostgreSQL (1)
Aspire.Hosting.Python (1)
Aspire.Hosting.Radius (1)
Aspire.Hosting.Radius.Tests (2)
Aspire.Hosting.Redis (1)
Aspire.Hosting.RemoteHost.Tests (1)
Aspire.Hosting.Testing (3)
Aspire.Hosting.Tests (16)