dotnet / dotnet/dotnet-api-docs
Host.CreateDefaultBuilder should specify that on windows it adds the EventLog Provider
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
### Type of issue
Missing information
### Description
The Host.CreateDefaultBuilder documentation states it adds a number of default providers, however the EventLog provider being added on windows [Source](
https://github.com/dotnet/runtime/blob/main/src/libraries/Microsoft.Extensions.Hosting/src/HostingHostBuilderExtensions.cs#L297-L301) is not shown in the documentation
### Page URL
https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.hosting.host.createdefaultbuilder?view=net-10.0-pp&viewFallbackFrom=net-8.0
### Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/Microsoft.Extensions.Hosting/Host.xml
### Document Version Independent Id
4ad9a6e3-9d0b-daee-c176-66c12c795349
### Platform Id
d181c500-8680-4e8c-a09b-9bc56e12734e
### Article author
@dotnet-bot
Contributor guide
Assessment
This issue has not been assessed yet.