net8.0
namespace Microsoft.Extensions.Hosting
{
    public static class ServiceFakesHostExtensions
    {
        public static IEnumerable<Uri!>! GetListenUris(this IHost! host);
    }
}
.NET
8.09.011.0
Information specific to net8.0
Assembly

Microsoft.AspNetCore.Testing , Version=11.0.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Your project needs a package reference to Microsoft.AspNetCore.Testing.

Package Microsoft.AspNetCore.Testing (11.0.0) net8.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API