net9.0
namespace Aspire.Hosting
{
    public static class ProjectResourceBuilderExtensions
    {
        [AspireExportIgnore(Reason = "Uses Func<EndpointAnnotation, bool> which is not ATS-compatible. The ATS-friendly implementation is in src/Aspire.Hosting/Ats/CoreExports.cs and accepts endpoint names instead of a predicate.")]
        public static IResourceBuilder<ProjectResource!>! WithEndpointsInEnvironment(this IResourceBuilder<ProjectResource!>! builder, Func<EndpointAnnotation!, bool>! filter);
    }
}
.NET
8.09.011.0
Information specific to net9.0
Assembly

Aspire.Hosting , Version=13.6.5.0, PublicKeyToken=cc7b13ffcd2ddd51

Referencing

Your project needs a package reference to Aspire.Hosting.

Package Aspire.Hosting (13.6.5) net8.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API