Go to file
Alessio Franceschelli f28cf2bbc8 HeaderPropagation: propagate incoming request headers to outgoing HTTP requests (#7921)
* Ported HeaderPropagation from aspnet/Extensions

* Introduced Middleware

* Refactored middleware logic

* Refactored builder extensions

* Copyright notice

* Test for friendly exception on Builder

* Fixed header name selection when no output name specified

* Set comparer for the dictionary of headers

* Refactored configuration as Dictionary

* Renamed state objects

* renamed OutboundHeaderName in configuration

* Changed DefaultValuesGenerator to ValueFactory

* Missing docs

* Removed AlwaysAdd and added tests for null entry in configuration

* Improved docs

* Update src/Middleware/HeaderPropagation/src/DependencyInjection/HeaderPropagationExtensions.cs

Co-Authored-By: alefranz <alessio@franceschelli.me>

* Moved dependency injection extensions

* DI: reused ServiceCollection extension in the HttpClientBuilder one

* Moved service registration

* Update src/Middleware/HeaderPropagation/src/HeaderPropagationEntry.cs

Co-Authored-By: alefranz <alessio@franceschelli.me>

* more docs

* Improved docs

* Update src/Middleware/HeaderPropagation/src/HeaderPropagationValues.cs

Co-Authored-By: alefranz <alessio@franceschelli.me>

* Fixed build

* Update eng/SharedFramework.Local.props

Co-Authored-By: alefranz <alessio@franceschelli.me>

* Updated tests for null config

* Reversed condition on HeaderPropagationMessageHandler as suggested

* Added docs for HeaderPropagationMessageHandler

* Changed proj to ship package to NuGet
2019-03-29 12:00:46 -07:00
.azure/pipelines Move to BYOC queues (#8694) 2019-03-27 08:31:56 -07:00
.config
.github Keep myself in the loop on PRs in my areas (#8708) 2019-03-21 11:28:45 -07:00
.vscode
build Update to newer Blazor.Mono. Fixes #6726 (#8782) 2019-03-26 09:53:15 +00:00
docs Correct daily build information 2019-03-29 10:49:34 -07:00
eng HeaderPropagation: propagate incoming request headers to outgoing HTTP requests (#7921) 2019-03-29 12:00:46 -07:00
src HeaderPropagation: propagate incoming request headers to outgoing HTTP requests (#7921) 2019-03-29 12:00:46 -07:00
.editorconfig Fix #7258 - remove components.server dependencies on blazor-specific plumbing (#7934) 2019-02-28 10:36:07 -08:00
.gitattributes
.gitignore Create Linux installers for the aspnetcore targeting pack (#7776) 2019-02-25 12:00:36 -08:00
.gitmodules
CONTRIBUTING.md Update CONTRIBUTING.md (#7622) 2019-02-15 11:50:04 -08:00
Directory.Build.props Deprecate the Microsoft.AspNetCore.App metapackage in favor of targeting and runtime packs (#7832) 2019-02-28 10:14:18 -08:00
Directory.Build.targets Deprecate the Microsoft.AspNetCore.App metapackage in favor of targeting and runtime packs (#7832) 2019-02-28 10:14:18 -08:00
LICENSE.txt Fix license (#8733) 2019-03-22 16:21:55 -07:00
NuGet.config Replace npm commands with yarn 2019-02-22 13:30:19 -08:00
README.md Use https link (#8850) 2019-03-27 08:29:59 -07:00
THIRD-PARTY-NOTICES.txt
activate.ps1 Show error message when activate.sh/ps1 is invoked directly instead of sourced (#7731) 2019-02-20 11:20:34 -08:00
activate.sh Show error message when activate.sh/ps1 is invoked directly instead of sourced (#7731) 2019-02-20 11:20:34 -08:00
build.cmd
build.ps1 Replace npm commands with yarn 2019-02-22 13:30:19 -08:00
build.sh Make Visual Studio 2019 a prerequisite to building this repo (#7005) 2019-02-20 09:53:53 -08:00
dockerbuild.sh Update dependencies and react to changes (#7844) 2019-02-22 19:09:08 -08:00
global.json Update SDK (#8115) 2019-03-04 12:59:49 -08:00
korebuild-lock.txt Add a separate test pass to run flaky tests that doesn't fail the build (#8486) 2019-03-18 18:21:14 -07:00
korebuild.json Remove VisualStudioExtension as a required workload (#7919) 2019-02-25 11:30:59 -08:00
restore.cmd
restore.sh Fix repo root in restore.sh (#7521) 2019-02-13 15:01:30 -08:00
startvs.cmd
version.props Create Linux installers for the aspnetcore targeting pack (#7776) 2019-02-25 12:00:36 -08:00

README.md

ASP.NET Core

ASP.NET Core is an open-source and cross-platform framework for building modern cloud based internet connected applications, such as web apps, IoT apps and mobile backends. ASP.NET Core apps can run on .NET Core or on the full .NET Framework. It was architected to provide an optimized development framework for apps that are deployed to the cloud or run on-premises. It consists of modular components with minimal overhead, so you retain flexibility while constructing your solutions. You can develop and run your ASP.NET Core apps cross-platform on Windows, Mac and Linux. Learn more about ASP.NET Core.

Get Started

Follow the Getting Started instructions in the ASP.NET Core docs.

Also check out the .NET Homepage for released versions of .NET, getting started guides, and learning resources.

How to Engage, Contribute, and Give Feedback

Some of the best ways to contribute are to try things out, file issues, join in design conversations, and make pull-requests.

Reporting security issues and bugs

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.

These are some other repos for related projects:

Code of conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.