IISUrlRewriteOptionsExtensions.AddIISUrlRewrite IISUrlRewriteOptionsExtensions.AddIISUrlRewrite IISUrlRewriteOptionsExtensions.AddIISUrlRewrite IISUrlRewriteOptionsExtensions.AddIISUrlRewrite Method

Definition

Overloads

AddIISUrlRewrite(RewriteOptions, TextReader) AddIISUrlRewrite(RewriteOptions, TextReader) AddIISUrlRewrite(RewriteOptions, TextReader) AddIISUrlRewrite(RewriteOptions, TextReader)

Add rules from a IIS config file containing Url Rewrite rules

AddIISUrlRewrite(RewriteOptions, IFileProvider, String) AddIISUrlRewrite(RewriteOptions, IFileProvider, String) AddIISUrlRewrite(RewriteOptions, IFileProvider, String) AddIISUrlRewrite(RewriteOptions, IFileProvider, String)

Add rules from a IIS config file containing Url Rewrite rules

AddIISUrlRewrite(RewriteOptions, TextReader, Boolean) AddIISUrlRewrite(RewriteOptions, TextReader, Boolean) AddIISUrlRewrite(RewriteOptions, TextReader, Boolean)

Add rules from a IIS config file containing Url Rewrite rules

AddIISUrlRewrite(RewriteOptions, IFileProvider, String, Boolean) AddIISUrlRewrite(RewriteOptions, IFileProvider, String, Boolean) AddIISUrlRewrite(RewriteOptions, IFileProvider, String, Boolean)

Add rules from a IIS config file containing Url Rewrite rules

AddIISUrlRewrite(RewriteOptions, TextReader) AddIISUrlRewrite(RewriteOptions, TextReader) AddIISUrlRewrite(RewriteOptions, TextReader) AddIISUrlRewrite(RewriteOptions, TextReader)

Add rules from a IIS config file containing Url Rewrite rules

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Rewrite::RewriteOptions ^ AddIISUrlRewrite(Microsoft::AspNetCore::Rewrite::RewriteOptions ^ options, System::IO::TextReader ^ reader);
public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddIISUrlRewrite (this Microsoft.AspNetCore.Rewrite.RewriteOptions options, System.IO.TextReader reader);
static member AddIISUrlRewrite : Microsoft.AspNetCore.Rewrite.RewriteOptions * System.IO.TextReader -> Microsoft.AspNetCore.Rewrite.RewriteOptions
<Extension()>
Public Function AddIISUrlRewrite (options As RewriteOptions, reader As TextReader) As RewriteOptions

Parameters

reader
TextReader TextReader TextReader TextReader

The text reader stream.

Returns

AddIISUrlRewrite(RewriteOptions, IFileProvider, String) AddIISUrlRewrite(RewriteOptions, IFileProvider, String) AddIISUrlRewrite(RewriteOptions, IFileProvider, String) AddIISUrlRewrite(RewriteOptions, IFileProvider, String)

Add rules from a IIS config file containing Url Rewrite rules

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Rewrite::RewriteOptions ^ AddIISUrlRewrite(Microsoft::AspNetCore::Rewrite::RewriteOptions ^ options, Microsoft::Extensions::FileProviders::IFileProvider ^ fileProvider, System::String ^ filePath);
public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddIISUrlRewrite (this Microsoft.AspNetCore.Rewrite.RewriteOptions options, Microsoft.Extensions.FileProviders.IFileProvider fileProvider, string filePath);
static member AddIISUrlRewrite : Microsoft.AspNetCore.Rewrite.RewriteOptions * Microsoft.Extensions.FileProviders.IFileProvider * string -> Microsoft.AspNetCore.Rewrite.RewriteOptions
<Extension()>
Public Function AddIISUrlRewrite (options As RewriteOptions, fileProvider As IFileProvider, filePath As String) As RewriteOptions

Parameters

fileProvider
Microsoft.Extensions.FileProviders.IFileProvider Microsoft.Extensions.FileProviders.IFileProvider Microsoft.Extensions.FileProviders.IFileProvider Microsoft.Extensions.FileProviders.IFileProvider

The Microsoft.Extensions.FileProviders.IFileProvider

filePath
String String String String

The path to the file containing UrlRewrite rules.

Returns

AddIISUrlRewrite(RewriteOptions, TextReader, Boolean) AddIISUrlRewrite(RewriteOptions, TextReader, Boolean) AddIISUrlRewrite(RewriteOptions, TextReader, Boolean)

Add rules from a IIS config file containing Url Rewrite rules

public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddIISUrlRewrite (this Microsoft.AspNetCore.Rewrite.RewriteOptions options, System.IO.TextReader reader, bool alwaysUseManagedServerVariables = false);
static member AddIISUrlRewrite : Microsoft.AspNetCore.Rewrite.RewriteOptions * System.IO.TextReader * bool -> Microsoft.AspNetCore.Rewrite.RewriteOptions
<Extension()>
Public Function AddIISUrlRewrite (options As RewriteOptions, reader As TextReader, Optional alwaysUseManagedServerVariables As Boolean = false) As RewriteOptions

Parameters

reader
TextReader TextReader TextReader TextReader

The text reader stream.

alwaysUseManagedServerVariables
Boolean Boolean Boolean Boolean

Server variables are by default sourced from the server if it supports the IServerVariablesFeature feature. Use true to disable that behavior

Returns

AddIISUrlRewrite(RewriteOptions, IFileProvider, String, Boolean) AddIISUrlRewrite(RewriteOptions, IFileProvider, String, Boolean) AddIISUrlRewrite(RewriteOptions, IFileProvider, String, Boolean)

Add rules from a IIS config file containing Url Rewrite rules

public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddIISUrlRewrite (this Microsoft.AspNetCore.Rewrite.RewriteOptions options, Microsoft.Extensions.FileProviders.IFileProvider fileProvider, string filePath, bool alwaysUseManagedServerVariables = false);
static member AddIISUrlRewrite : Microsoft.AspNetCore.Rewrite.RewriteOptions * Microsoft.Extensions.FileProviders.IFileProvider * string * bool -> Microsoft.AspNetCore.Rewrite.RewriteOptions
<Extension()>
Public Function AddIISUrlRewrite (options As RewriteOptions, fileProvider As IFileProvider, filePath As String, Optional alwaysUseManagedServerVariables As Boolean = false) As RewriteOptions

Parameters

fileProvider
Microsoft.Extensions.FileProviders.IFileProvider Microsoft.Extensions.FileProviders.IFileProvider Microsoft.Extensions.FileProviders.IFileProvider Microsoft.Extensions.FileProviders.IFileProvider

The Microsoft.Extensions.FileProviders.IFileProvider

filePath
String String String String

The path to the file containing UrlRewrite rules.

alwaysUseManagedServerVariables
Boolean Boolean Boolean Boolean

Server variables are by default sourced from the server if it supports the IServerVariablesFeature feature. Use true to disable that behavior

Returns

Applies to