TestServer
TestServer(IServiceProvider)
TestServer(IWebHostBuilder)
TestServer(IServiceProvider, IFeatureCollection)
TestServer(IWebHostBuilder, IFeatureCollection)
TestServer(IServiceProvider, IOptions<TestServerOptions>)
TestServer(IServiceProvider, IFeatureCollection, IOptions<TestServerOptions>)
AllowSynchronousIO
BaseAddress
Features
Host
PreserveExecutionContext
Services
CreateClient()
CreateHandler()
CreateHandler(Action<HttpContext>)
CreateRequest(String)
CreateWebSocketClient()
Dispose()
SendAsync(Action<HttpContext>, CancellationToken)
net10.0-windows7.0
namespace Microsoft.AspNetCore.TestHost
{
public class TestServer : IServer, IDisposable
{
public bool PreserveExecutionContext { get; set; }
}
}
nuget.org | 0.0 %
Reference this API 0.0 %
Set property |
---|---|
.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 | The property getter is supported on all platforms. The property setter is supported on all platforms. |
- Built-in API
- Package-provided API