IHost
Services
StartAsync(CancellationToken)
StopAsync(CancellationToken)
CreateClient(IHost, HttpMessageHandler, Func<Uri, Boolean>)
GetFakeLogCollector(IHost)
GetFakeRedactionCollector(IHost)
GetListenUris(IHost)
GetTestClient(IHost)
GetTestServer(IHost)
Run(IHost)
RunAsync(IHost, CancellationToken)
Start(IHost)
StopAsync(IHost, TimeSpan)
WaitForShutdown(IHost)
WaitForShutdownAsync(IHost, CancellationToken)
net10.0
namespace Microsoft.AspNetCore.TestHost
{
public static class HostBuilderTestServerExtensions
{
public static HttpClient! GetTestClient(this IHost! host);
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .NET | 10.0 |
Information specific to net10.0 | |
| Assembly | Microsoft.AspNetCore.TestHost , Version=10.0.1.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.AspNetCore.TestHost (10.0.1) net10.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API