1 interface inheriting from IResourceWithEndpoints
Aspire.Hosting (1)
37 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.RemoteHost.Tests (1)
Aspire.Hosting.Testing.Tests (1)
Aspire.Hosting.Tests (15)
HealthChecksSandbox.AppHost (1)
Stress.AppHost (1)
162 references to IResourceWithEndpoints
Aspire.Hosting (86)
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 (38)
1390private static void ApplyEndpoints<T>(this IResourceBuilder<T> builder, IResourceWithEndpoints resourceWithEndpoints, string? endpointName = null, string? name = null)
1461public static IResourceBuilder<T> WithEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string endpointName, Action<EndpointAnnotation> callback, bool createIfNotExists = true) where T : IResourceWithEndpoints
1498internal static IResourceBuilder<T> WithEndpointCallback<T>(this IResourceBuilder<T> builder, [EndpointName] string endpointName, Action<EndpointUpdateContext> callback, bool createIfNotExists = true) where T : IResourceWithEndpoints
1511internal static IResourceBuilder<T> WithHttpEndpointCallback<T>(this IResourceBuilder<T> builder, Action<EndpointUpdateContext> callback, [EndpointName] string? name = null, bool createIfNotExists = true) where T : IResourceWithEndpoints
1523internal static IResourceBuilder<T> WithHttpsEndpointCallback<T>(this IResourceBuilder<T> builder, Action<EndpointUpdateContext> callback, [EndpointName] string? name = null, bool createIfNotExists = true) where T : IResourceWithEndpoints
1531private static IResourceBuilder<T> WithWellKnownEndpointCallback<T>(this IResourceBuilder<T> builder, Action<EndpointUpdateContext> callback, string endpointName, bool createIfNotExists, Action<IResourceBuilder<T>, string> createEndpoint) where T : IResourceWithEndpoints
1562public 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
1639public 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
1650private static void ConfigureEndpointEnvironmentVariable<T>(IResourceBuilder<T> builder, EndpointAnnotation endpointAnnotation, string? env) where T : IResourceWithEndpoints
1652if (env is null || builder.Resource is not IResourceWithEndpoints resourceWithEndpoints || builder.Resource is not IResourceWithEnvironment)
1690public static IResourceBuilder<IResourceWithEndpoints> WithEndpointProxySupport(this IResourceBuilder<IResourceWithEndpoints> builder, bool proxyEnabled)
1695internal static IResourceBuilder<T> SetEndpointProxySupport<T>(IResourceBuilder<T> builder, bool proxyEnabled) where T : IResourceWithEndpoints
1724public 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
1749public 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
1774public 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
1797public static IResourceBuilder<T> WithHttpEndpoint<T>(this IResourceBuilder<T> builder, int? port, int? targetPort, [EndpointName] string? name, string? env, bool isProxied) where T : IResourceWithEndpoints
1822public 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
1845public static IResourceBuilder<T> WithHttpsEndpoint<T>(this IResourceBuilder<T> builder, int? port, int? targetPort, [EndpointName] string? name, string? env, bool isProxied) where T : IResourceWithEndpoints
1858public static IResourceBuilder<T> WithExternalHttpEndpoints<T>(this IResourceBuilder<T> builder) where T : IResourceWithEndpoints
1889public static EndpointReference GetEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string name, NetworkIdentifier contextNetworkId) where T : IResourceWithEndpoints
1906public static EndpointReference GetEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string name) where T : IResourceWithEndpoints
1921public static IResourceBuilder<T> AsHttp2Service<T>(this IResourceBuilder<T> builder) where T : IResourceWithEndpoints
2231where T : IResourceWithEndpoints
2733/// <typeparam name="T">A resource type that implements <see cref="IResourceWithEndpoints" />.</typeparam>
2762public static IResourceBuilder<T> WithHttpHealthCheck<T>(this IResourceBuilder<T> builder, string? path = null, int? statusCode = null, string? endpointName = null) where T : IResourceWithEndpoints
2776/// <typeparam name="T">A resource type that implements <see cref="IResourceWithEndpoints" />.</typeparam>
2804public static IResourceBuilder<T> WithHttpHealthCheck<T>(this IResourceBuilder<T> builder, Func<EndpointReference>? endpointSelector, string? path = null, int? statusCode = null) where T : IResourceWithEndpoints
2856/// <typeparam name="T">A resource type that implements <see cref="IResourceWithEndpoints" />.</typeparam>
2883public static IResourceBuilder<T> WithHttpsHealthCheck<T>(this IResourceBuilder<T> builder, string? path = null, int? statusCode = null, string? endpointName = null) where T : IResourceWithEndpoints
3602where TResource : IResourceWithEndpoints
3679where TResource : IResourceWithEndpoints
3787where TResource : IResourceWithEndpoints
4368where TResource : IResourceWithEndpoints
4394where TResource : IResourceWithEndpoints
5010where T : IResourceWithEndpoints, IResourceWithProbes
5029where T : IResourceWithEndpoints, IResourceWithProbes
5070where T : IResourceWithEndpoints, IResourceWithProbes
Aspire.Hosting.Azure.AppContainers (2)
Aspire.Hosting.Azure.AppService (2)
Aspire.Hosting.Azure.FrontDoor (7)
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)
49where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
66where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
90where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
110where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
137where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
169where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
200where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
211where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
251where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
260where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
274where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
287where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
439where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
563where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
565if (target is not IResourceWithEndpoints targetWithEndpoints ||
Aspire.Hosting.Foundry.Tests (1)
Aspire.Hosting.Kubernetes (4)
Aspire.Hosting.Maui (1)
Aspire.Hosting.Orleans (3)
Aspire.Hosting.Python (1)
Aspire.Hosting.Radius (1)
Aspire.Hosting.RemoteHost.Tests (1)
Aspire.Hosting.Testing (3)
Aspire.Hosting.Tests (13)