AppGatewayHostRewriteModule 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package AppGatewayHostRewriteModule --version 1.0.1
                    
NuGet\Install-Package AppGatewayHostRewriteModule -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AppGatewayHostRewriteModule" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AppGatewayHostRewriteModule" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="AppGatewayHostRewriteModule" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AppGatewayHostRewriteModule --version 1.0.1
                    
#r "nuget: AppGatewayHostRewriteModule, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=AppGatewayHostRewriteModule&version=1.0.1
                    
Install AppGatewayHostRewriteModule as a Cake Addin
#tool nuget:?package=AppGatewayHostRewriteModule&version=1.0.1
                    
Install AppGatewayHostRewriteModule as a Cake Tool

Replaces the Host header with the X-Original-Host on IIS of App Service via native C++ module. NOTE: There is an approach to rewrite the HOST header with the value of X-Original-Host header by firstly unlocking the Host and X-Original-Host headers so they can be rewritten using rewrite rules. And then once the request reaches the App Service, the value of HOST header is set to the value of X-Original-Host header. However this approach has one general pitfall, if there are other rewrite rules executed after the rule for rewriting the HOST header, they do not respect the new value of HOST header. Using the native module, ensures that HOST header has taken the value of X-Original-Host header before the rewrite module steps in.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 1,045 3/29/2022
1.0.2 2,533 2/3/2020 1.0.2 is deprecated because it is no longer maintained.
1.0.1 641 1/29/2020
1.0.0 696 1/24/2020