Share via


WebApplicationFactory<TEntryPoint>.ConfigureWebHost Method

Definition

Gives a fixture an opportunity to configure the application before it gets built.

protected:
 virtual void ConfigureWebHost(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ builder);
protected virtual void ConfigureWebHost (Microsoft.AspNetCore.Hosting.IWebHostBuilder builder);
abstract member ConfigureWebHost : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> unit
override this.ConfigureWebHost : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> unit
Protected Overridable Sub ConfigureWebHost (builder As IWebHostBuilder)

Parameters

builder
IWebHostBuilder

The IWebHostBuilder for the application.

Applies to