1 interface inheriting from IResourceWithEndpoints
Aspire.Hosting (1)
38 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.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)
171 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)
1452private static void ApplyEndpoints<T>(this IResourceBuilder<T> builder, IResourceWithEndpoints resourceWithEndpoints, string? endpointName = null, string? name = null)
1523public static IResourceBuilder<T> WithEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string endpointName, Action<EndpointAnnotation> callback, bool createIfNotExists = true) where T : IResourceWithEndpoints
1560internal static IResourceBuilder<T> WithEndpointCallback<T>(this IResourceBuilder<T> builder, [EndpointName] string endpointName, Action<EndpointUpdateContext> callback, bool createIfNotExists = true) where T : IResourceWithEndpoints
1573internal static IResourceBuilder<T> WithHttpEndpointCallback<T>(this IResourceBuilder<T> builder, Action<EndpointUpdateContext> callback, [EndpointName] string? name = null, bool createIfNotExists = true) where T : IResourceWithEndpoints
1585internal static IResourceBuilder<T> WithHttpsEndpointCallback<T>(this IResourceBuilder<T> builder, Action<EndpointUpdateContext> callback, [EndpointName] string? name = null, bool createIfNotExists = true) where T : IResourceWithEndpoints
1593private static IResourceBuilder<T> WithWellKnownEndpointCallback<T>(this IResourceBuilder<T> builder, Action<EndpointUpdateContext> callback, string endpointName, bool createIfNotExists, Action<IResourceBuilder<T>, string> createEndpoint) where T : IResourceWithEndpoints
1624public 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
1701public 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
1712private static void ConfigureEndpointEnvironmentVariable<T>(IResourceBuilder<T> builder, EndpointAnnotation endpointAnnotation, string? env) where T : IResourceWithEndpoints
1714if (env is null || builder.Resource is not IResourceWithEndpoints resourceWithEndpoints || builder.Resource is not IResourceWithEnvironment)
1752public static IResourceBuilder<IResourceWithEndpoints> WithEndpointProxySupport(this IResourceBuilder<IResourceWithEndpoints> builder, bool proxyEnabled)
1757internal static IResourceBuilder<T> SetEndpointProxySupport<T>(IResourceBuilder<T> builder, bool proxyEnabled) where T : IResourceWithEndpoints
1786public 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
1811public 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
1836public 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
1859public static IResourceBuilder<T> WithHttpEndpoint<T>(this IResourceBuilder<T> builder, int? port, int? targetPort, [EndpointName] string? name, string? env, bool isProxied) where T : IResourceWithEndpoints
1884public 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
1907public static IResourceBuilder<T> WithHttpsEndpoint<T>(this IResourceBuilder<T> builder, int? port, int? targetPort, [EndpointName] string? name, string? env, bool isProxied) where T : IResourceWithEndpoints
1920public static IResourceBuilder<T> WithExternalHttpEndpoints<T>(this IResourceBuilder<T> builder) where T : IResourceWithEndpoints
1951public static EndpointReference GetEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string name, NetworkIdentifier contextNetworkId) where T : IResourceWithEndpoints
1968public static EndpointReference GetEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string name) where T : IResourceWithEndpoints
1983public static IResourceBuilder<T> AsHttp2Service<T>(this IResourceBuilder<T> builder) where T : IResourceWithEndpoints
2252if (builder.Resource is IResourceWithEndpoints resource)
2300where T : IResourceWithEndpoints
2854/// <typeparam name="T">A resource type that implements <see cref="IResourceWithEndpoints" />.</typeparam>
2883public static IResourceBuilder<T> WithHttpHealthCheck<T>(this IResourceBuilder<T> builder, string? path = null, int? statusCode = null, string? endpointName = null) where T : IResourceWithEndpoints
2897/// <typeparam name="T">A resource type that implements <see cref="IResourceWithEndpoints" />.</typeparam>
2925public static IResourceBuilder<T> WithHttpHealthCheck<T>(this IResourceBuilder<T> builder, Func<EndpointReference>? endpointSelector, string? path = null, int? statusCode = null) where T : IResourceWithEndpoints
2977/// <typeparam name="T">A resource type that implements <see cref="IResourceWithEndpoints" />.</typeparam>
3004public static IResourceBuilder<T> WithHttpsHealthCheck<T>(this IResourceBuilder<T> builder, string? path = null, int? statusCode = null, string? endpointName = null) where T : IResourceWithEndpoints
3723where TResource : IResourceWithEndpoints
3800where TResource : IResourceWithEndpoints
3908where TResource : IResourceWithEndpoints
4489where TResource : IResourceWithEndpoints
4515where TResource : IResourceWithEndpoints
5177where T : IResourceWithEndpoints, IResourceWithProbes
5196where T : IResourceWithEndpoints, IResourceWithProbes
5237where T : IResourceWithEndpoints, IResourceWithProbes
Aspire.Hosting.Azure.AppContainers (2)
Aspire.Hosting.Azure.AppService (2)
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)