net9.0
namespace Microsoft.AspNetCore.TestHost
{
    public class TestServer : IServer, IDisposable
    {
        [AsyncStateMachine(typeof(<SendAsync>d__39))]
        public Task<HttpContext!>! SendAsync(Action<HttpContext!>! configureContext, CancellationToken cancellationToken = default);
    }
}
nuget.org
0.0 %
Reference this API
.NET 8.09.0
Information specific to net9.0
Assemblies

Microsoft.AspNetCore.TestHost , Version=8.0.10.0, PublicKeyToken=adb9793829ddae60

Microsoft.AspNetCore.TestHost , Version=10.0.0.0, PublicKeyToken=adb9793829ddae60

Referencing

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

Package Microsoft.AspNetCore.TestHost net8.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API

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