WebHostBuilderKestrelExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Kestrel IWebHostBuilder extensions.
public ref class WebHostBuilderKestrelExtensions abstract sealed
public static class WebHostBuilderKestrelExtensions
type WebHostBuilderKestrelExtensions = class
Public Module WebHostBuilderKestrelExtensions
- Inheritance
-
WebHostBuilderKestrelExtensions
Methods
ConfigureKestrel(IWebHostBuilder, Action<KestrelServerOptions>) |
Configures Kestrel options but does not register an IServer. See UseKestrel(IWebHostBuilder). |
ConfigureKestrel(IWebHostBuilder, Action<WebHostBuilderContext,KestrelServerOptions>) |
Configures Kestrel options but does not register an IServer. See UseKestrel(IWebHostBuilder). |
UseKestrel(IWebHostBuilder, Action<KestrelServerOptions>) |
Specify Kestrel as the server to be used by the web host. |
UseKestrel(IWebHostBuilder, Action<KestrelServerOptions>) |
Specify Kestrel as the server to be used by the web host. |
UseKestrel(IWebHostBuilder, Action<WebHostBuilderContext,KestrelServerOptions>) |
Specify Kestrel as the server to be used by the web host. |
UseKestrel(IWebHostBuilder) |
Specify Kestrel as the server to be used by the web host. |
UseKestrelCore(IWebHostBuilder) |
Specify Kestrel as the server to be used by the web host. Includes less automatic functionality than UseKestrel(IWebHostBuilder) to make trimming more effective (e.g. for Native AOT scenarios). If the host ends up depending on some of the absent functionality, a best-effort attempt will be made to enable it on-demand. Failing that, an exception with an informative error message will be raised when the host is started. |
UseKestrelHttpsConfiguration(IWebHostBuilder) |
In UseKestrelCore(IWebHostBuilder) scenarios, it may be necessary to explicitly
opt in to certain HTTPS functionality. For example, if Has no effect in UseKestrel(IWebHostBuilder) scenarios. |