WebHostBuilderExtensions
ConfigureTestContainer<TContainer>(IWebHostBuilder, Action<TContainer>)
ConfigureTestServices(IWebHostBuilder, Action<IServiceCollection>)
GetTestClient(IWebHost)
GetTestServer(IWebHost)
UseSolutionRelativeContentRoot(IWebHostBuilder, String, String)
UseSolutionRelativeContentRoot(IWebHostBuilder, String, String, String)
UseTestServer(IWebHostBuilder)
UseTestServer(IWebHostBuilder, Action<TestServerOptions>)
net9.0
namespace Microsoft.AspNetCore.TestHost
{
public static class WebHostBuilderExtensions
{
public static IWebHostBuilder! UseTestServer(this IWebHostBuilder! builder, Action<TestServerOptions!>! configureOptions);
}
}
nuget.org | 0.0 % Reference this API |
---|---|
Upgrade Planner | 0.0 % Reference this API |
.NET | 9.010.0 |
Information specific to net9.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