net9.0
namespace Microsoft.AspNetCore.Hosting
{
    public static class ServiceFakesWebHostExtensions
    {
        public static IWebHostBuilder! ListenHttpsOnAnyPort(this IWebHostBuilder! builder, X509Certificate2? sslCertificate = null);
    }
}
.NET 6.07.08.09.0
Information specific to net9.0
Assemblies

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

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

Referencing

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

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

This API is supported on all platforms.

  • Built-in API
  • Package-provided API

11/09/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙