{"id":16101511,"url":"https://github.com/mendhak/dotnet-configuration-inheritance-demo","last_synced_at":"2026-01-18T20:33:39.101Z","repository":{"id":232571379,"uuid":"658952078","full_name":"mendhak/Dotnet-Configuration-Inheritance-Demo","owner":"mendhak","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-26T21:02:07.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T00:27:40.263Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mendhak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-26T20:59:15.000Z","updated_at":"2023-06-26T20:59:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"c20cdb52-80e0-474b-96a4-376aaca6498b","html_url":"https://github.com/mendhak/Dotnet-Configuration-Inheritance-Demo","commit_stats":null,"previous_names":["mendhak/dotnet-configuration-inheritance-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mendhak/Dotnet-Configuration-Inheritance-Demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2FDotnet-Configuration-Inheritance-Demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2FDotnet-Configuration-Inheritance-Demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2FDotnet-Configuration-Inheritance-Demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2FDotnet-Configuration-Inheritance-Demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mendhak","download_url":"https://codeload.github.com/mendhak/Dotnet-Configuration-Inheritance-Demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2FDotnet-Configuration-Inheritance-Demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28549847,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T19:56:05.265Z","status":"ssl_error","status_checked_at":"2026-01-18T19:55:54.685Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T18:50:11.018Z","updated_at":"2026-01-18T20:33:39.085Z","avatar_url":"https://github.com/mendhak.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"Sample app to demonstrate dotnet's hierarchical configuration feature, and double underscore notation to override specific configuration values. \n\nWith dotnet\n\n```\n# Reads from appsettings.json\n$ dotnet run\nHello, From Default\n\n# Reads from appsettings.staging.json\n$ ENVIRONMENT_NAME=staging dotnet run\nHello, From Staging\n\n# Reads from appsettings.production.json\n$ ENVIRONMENT_NAME=production dotnet run\nHello, From Production!\n\n# Overridden from 'external secret store'\n$ SUBJECT__NAME=Dennis dotnet run\nHello, Dennis\n\n# Overridden from 'external secret store', takes precedence over appsettings.x.json\n$ ENVIRONMENT_NAME=production SUBJECT__NAME=Dennis dotnet run\nHello, Dennis\n```\n\nWith Docker\n\n```\n$ docker build -t dotnetconfigdemo:latest .\n\n$ docker run -e ENVIRONMENT_NAME=production --rm dotnetconfigdemo:latest \nHello, From Production!\n\n$ docker run -e ENVIRONMENT_NAME=production -e SUBJECT__NAME=Harry --rm dotnetconfigdemo:latest\nHello, Harry\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmendhak%2Fdotnet-configuration-inheritance-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmendhak%2Fdotnet-configuration-inheritance-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmendhak%2Fdotnet-configuration-inheritance-demo/lists"}