Table of Contents

ConfigureWebHost Method

Definition

Namespace
Codebelt.Extensions.Xunit.Hosting.AspNetCore
Assemblies
Codebelt.Extensions.Xunit.Hosting.AspNetCore.dll
Source
src/Codebelt.Extensions.Xunit.Hosting.AspNetCore/WebApplicationTest.cs

ConfigureWebHost(IWebHostBuilder)

Provides a way to override the IWebHostBuilder defaults before the application is built.

protected virtual void ConfigureWebHost(IWebHostBuilder builder)

Parameters

builder IWebHostBuilder

The IWebHostBuilder used to configure the application.