1 interface inheriting from IResourceWithEndpoints
Aspire.Hosting (1)
39 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.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)
172 references to IResourceWithEndpoints
Aspire.Hosting (89)
ApplicationModel\EndpointReference.cs (5)
47public IResourceWithEndpoints Resource { get; }
262public EndpointReference(IResourceWithEndpoints owner, EndpointAnnotation endpoint, NetworkIdentifier? contextNetworkId)
278public EndpointReference(IResourceWithEndpoints owner, EndpointAnnotation endpoint): this(owner, endpoint, null)
294public EndpointReference(IResourceWithEndpoints owner, string endpointName, NetworkIdentifier? contextNetworkId = null)
309public EndpointReference(IResourceWithEndpoints owner, string endpointName): this(owner, endpointName, null)
ResourceBuilderExtensions.cs (39)
1702private static void ApplyEndpoints<T>(this IResourceBuilder<T> builder, IResourceWithEndpoints resourceWithEndpoints, string? endpointName = null, string? name = null)
1773public static IResourceBuilder<T> WithEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string endpointName, Action<EndpointAnnotation> callback, bool createIfNotExists = true) where T : IResourceWithEndpoints
1810internal static IResourceBuilder<T> WithEndpointCallback<T>(this IResourceBuilder<T> builder, [EndpointName] string endpointName, Action<EndpointUpdateContext> callback, bool createIfNotExists = true) where T : IResourceWithEndpoints
1823internal static IResourceBuilder<T> WithHttpEndpointCallback<T>(this IResourceBuilder<T> builder, Action<EndpointUpdateContext> callback, [EndpointName] string? name = null, bool createIfNotExists = true) where T : IResourceWithEndpoints
1835internal static IResourceBuilder<T> WithHttpsEndpointCallback<T>(this IResourceBuilder<T> builder, Action<EndpointUpdateContext> callback, [EndpointName] string? name = null, bool createIfNotExists = true) where T : IResourceWithEndpoints
1843private static IResourceBuilder<T> WithWellKnownEndpointCallback<T>(this IResourceBuilder<T> builder, Action<EndpointUpdateContext> callback, string endpointName, bool createIfNotExists, Action<IResourceBuilder<T>, string> createEndpoint) where T : IResourceWithEndpoints
1874public 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
1951public 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
1962private static void ConfigureEndpointEnvironmentVariable<T>(IResourceBuilder<T> builder, EndpointAnnotation endpointAnnotation, string? env) where T : IResourceWithEndpoints
1964if (env is null || builder.Resource is not IResourceWithEndpoints resourceWithEndpoints || builder.Resource is not IResourceWithEnvironment)
2002public static IResourceBuilder<IResourceWithEndpoints> WithEndpointProxySupport(this IResourceBuilder<IResourceWithEndpoints> builder, bool proxyEnabled)
2007internal static IResourceBuilder<T> SetEndpointProxySupport<T>(IResourceBuilder<T> builder, bool proxyEnabled) where T : IResourceWithEndpoints
2036public 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
2061public 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
2086public 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
2109public static IResourceBuilder<T> WithHttpEndpoint<T>(this IResourceBuilder<T> builder, int? port, int? targetPort, [EndpointName] string? name, string? env, bool isProxied) where T : IResourceWithEndpoints
2134public 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
2157public static IResourceBuilder<T> WithHttpsEndpoint<T>(this IResourceBuilder<T> builder, int? port, int? targetPort, [EndpointName] string? name, string? env, bool isProxied) where T : IResourceWithEndpoints
2170public static IResourceBuilder<T> WithExternalHttpEndpoints<T>(this IResourceBuilder<T> builder) where T : IResourceWithEndpoints
2201public static EndpointReference GetEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string name, NetworkIdentifier contextNetworkId) where T : IResourceWithEndpoints
2218public static EndpointReference GetEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string name) where T : IResourceWithEndpoints
2233public static IResourceBuilder<T> AsHttp2Service<T>(this IResourceBuilder<T> builder) where T : IResourceWithEndpoints
2502if (builder.Resource is IResourceWithEndpoints resource)
2550where T : IResourceWithEndpoints
3104/// <typeparam name="T">A resource type that implements <see cref="IResourceWithEndpoints" />.</typeparam>
3133public static IResourceBuilder<T> WithHttpHealthCheck<T>(this IResourceBuilder<T> builder, string? path = null, int? statusCode = null, string? endpointName = null) where T : IResourceWithEndpoints
3147/// <typeparam name="T">A resource type that implements <see cref="IResourceWithEndpoints" />.</typeparam>
3175public static IResourceBuilder<T> WithHttpHealthCheck<T>(this IResourceBuilder<T> builder, Func<EndpointReference>? endpointSelector, string? path = null, int? statusCode = null) where T : IResourceWithEndpoints
3227/// <typeparam name="T">A resource type that implements <see cref="IResourceWithEndpoints" />.</typeparam>
3254public static IResourceBuilder<T> WithHttpsHealthCheck<T>(this IResourceBuilder<T> builder, string? path = null, int? statusCode = null, string? endpointName = null) where T : IResourceWithEndpoints
3973where TResource : IResourceWithEndpoints
4050where TResource : IResourceWithEndpoints
4158where TResource : IResourceWithEndpoints
4776where TResource : IResourceWithEndpoints
4802where TResource : IResourceWithEndpoints
5501where T : IResourceWithEndpoints, IResourceWithProbes
5519where T : IResourceWithEndpoints, IResourceWithProbes
5559where T : IResourceWithEndpoints, IResourceWithProbes
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.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 (1)
Aspire.Hosting.Redis (1)
Aspire.Hosting.RemoteHost.Tests (1)
Aspire.Hosting.Testing (3)
Aspire.Hosting.Tests (13)