Azure / Azure/azure-functions-dotnet-worker
Update samples to advise users to use CreateDefaultBuilder
- Dominant language
- C#
- Stars
- 466
- Forks
- 215
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 7
Description
### Description
We should update samples to advise users to use `Host.CreateDefaultBuilder()`
This will include user secrets, validate scopes, as well as other defaults.
This will address these two issues as it will bring in the expected items by default:
- https://github.com/Azure/azure-functions-dotnet-worker/issues/2661
- https://github.com/Azure/azure-functions-dotnet-worker/issues/606
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the sample projects that configure the host and compare their current setup with the issue's requested Host.CreateDefaultBuilder() usage. Review issues 2661 and 606 for the expected defaults, then verify that the samples consistently advise the requested builder and cover those concerns.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100