Azure / Azure/azure-functions-dotnet-worker

Update samples and docs to add Host.CreateDefaultBuilder()

Open
#1,025 5 comments 8 reactions 0 assignees View on GitHub
enhancement needs-discussion team-issue
Dominant language
C#
Stars
466
Forks
215
Avg merge
3d 10h
Merged PRs (30d)
7

Description

With the recent addition of app insights logging integration on dotnet worker, we should consider exploring the idea of adding an `appsettings.json` file as a default configuration source to isolated function apps. For customers who are coming from aspnet core webapi background, this experience makes it easier for them.

- Update new project template to include the file.
- Should we have environment specific files (`appsettings.{Environment}.json` ) ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the new project template, affected samples, and documentation referenced by the issue, then review how isolated function apps currently obtain configuration and how Host.CreateDefaultBuilder() is used. Resolve whether appsettings.json and appsettings.{Environment}.json should be included, update the template and docs accordingly, and verify the generated project and samples reflect the decision.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend, documentation, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.