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)
UseServiceModel(IHost, Action<IServiceBuilder>)
WaitForShutdown(IHost)
WaitForShutdownAsync(IHost, CancellationToken)
net10.0-windows7.0
namespace Microsoft.AspNetCore.TestHost
{
public static class HostBuilderTestServerExtensions
{
public static HttpClient! GetTestClient(this IHost! host);
}
}
nuget.org | 0.0 % Reference this API |
---|---|
.NET | 9.010.0 |
Information specific to net10.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
Assembly | Microsoft.AspNetCore.TestHost , Version=9.0.3.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.AspNetCore.TestHost (9.0.3) net9.0 |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API