dotnet / dotnet/aspnetcore

Consider ConfigureEmptyWebHost along with ConfigureSlimWebHost

Open
#49,375 0 comments 1 reaction 0 assignees View on GitHub
area-networking
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

I forgot about this public API. It is a little weird that the "empty" builder configures the "slim" web host.

As a follow up, would it make more sense to rename this to `ConfigureEmptyWebHost` and then add a `ConfigureSlimWebHost` that also calls `ConfigureWebDefaultsSlim` and adds Kestrel and the core routing services?

_Originally posted by @halter73 in https://github.com/dotnet/aspnetcore/pull/49246#discussion_r1261534463_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.