{"id":19767629,"url":"https://github.com/rnelson/libexec.aspnetcore.environmentheaders","last_synced_at":"2025-05-12T22:28:21.795Z","repository":{"id":66983303,"uuid":"206997982","full_name":"rnelson/Libexec.AspnetCore.EnvironmentHeaders","owner":"rnelson","description":"ASP.NET Core middleware for adding environment information to response headers","archived":false,"fork":false,"pushed_at":"2025-04-09T10:15:15.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-09T11:25:14.966Z","etag":null,"topics":["aspnet","aspnetcore","http"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rnelson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-09-07T16:50:14.000Z","updated_at":"2025-04-09T10:15:24.000Z","dependencies_parsed_at":"2024-12-08T00:21:54.588Z","dependency_job_id":"542b5546-c1e3-4dc1-b17e-157811ca0ae4","html_url":"https://github.com/rnelson/Libexec.AspnetCore.EnvironmentHeaders","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnelson%2FLibexec.AspnetCore.EnvironmentHeaders","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnelson%2FLibexec.AspnetCore.EnvironmentHeaders/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnelson%2FLibexec.AspnetCore.EnvironmentHeaders/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnelson%2FLibexec.AspnetCore.EnvironmentHeaders/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rnelson","download_url":"https://codeload.github.com/rnelson/Libexec.AspnetCore.EnvironmentHeaders/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253832611,"owners_count":21971298,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["aspnet","aspnetcore","http"],"created_at":"2024-11-12T04:31:20.500Z","updated_at":"2025-05-12T22:28:21.757Z","avatar_url":"https://github.com/rnelson.png","language":"C#","readme":"# EnvironmentHeaders Middleware\n\n![Build status](https://github.com/rnelson/Libexec.AspnetCore.EnvironmentHeaders/actions/workflows/dotnet.yml/badge.svg) ![License](https://img.shields.io/github/license/rnelson/Libexec.AspnetCore.EnvironmentHeaders%20) ![NuGet](https://img.shields.io/nuget/v/Libexec.AspnetCore.EnvironmentHeaders) [deps.dev](https://deps.dev/nuget/libexec.aspnetcore.environmentheaders)\n\nThe EnvironmentHeaders middleware is a small ASP.NET Core middleware package that adds [a few response headers](https://github.com/rnelson/Libexec.AspnetCore.EnvironmentHeaders/blob/main/Libexec.AspnetCore.EnvironmentHeaders/EnvironmentHeaders.cs#L14-L19) to every request to aid in troubleshooting.\n\n## Usage\n\nTo use this package, simply add `Libexec.AspnetCore.EnvironmentHeaders` to your project then call [`AddEnvironmentHeaders()`](https://github.com/rnelson/Libexec.AspnetCore.EnvironmentHeaders/blob/main/Libexec.AspnetCore.EnvironmentHeaders.Tests/Program.cs#L9-L12) and [`UseEnvironmentHeaders()`](https://github.com/rnelson/Libexec.AspnetCore.EnvironmentHeaders/blob/main/Libexec.AspnetCore.EnvironmentHeaders.Tests/Program.cs#L17) during initialization.\n\nIt is recommended you [do not include this middleware in production](https://github.com/rnelson/Libexec.AspnetCore.EnvironmentHeaders/blob/main/Libexec.AspnetCore.EnvironmentHeaders.Tests/Program.cs#L11).\n\n## License\n\nReleased under the [MIT License](http://rnelson.mit-license.org).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnelson%2Flibexec.aspnetcore.environmentheaders","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frnelson%2Flibexec.aspnetcore.environmentheaders","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnelson%2Flibexec.aspnetcore.environmentheaders/lists"}