WebHostBuilderExtensions
ConfigureTestContainer<TContainer>(IWebHostBuilder, Action<TContainer>)
ConfigureTestServices(IWebHostBuilder, Action<IServiceCollection>)
GetTestClient(IWebHost)
GetTestServer(IWebHost)
UseSolutionRelativeContentRoot(IWebHostBuilder, String)
UseSolutionRelativeContentRoot(IWebHostBuilder, String, String)
UseSolutionRelativeContentRoot(IWebHostBuilder, String, String, String)
UseSolutionRelativeContentRoot(IWebHostBuilder, String, String, ReadOnlySpan<String>)
UseTestServer(IWebHostBuilder)
UseTestServer(IWebHostBuilder, Action<TestServerOptions>)
net10.0
namespace Microsoft.AspNetCore.TestHost
{
public static class WebHostBuilderExtensions
{
public static IWebHostBuilder! UseSolutionRelativeContentRoot(this IWebHostBuilder! builder, string! solutionRelativePath, string! applicationBasePath, string! solutionName);
}
}
| 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