Partilhar via


IISUrlRewriteOptionsExtensions.AddIISUrlRewrite Método

Definição

Sobrecargas

AddIISUrlRewrite(RewriteOptions, TextReader)

Adicionar regras de um arquivo de configuração do IIS que contém regras de reescrita de URL

AddIISUrlRewrite(RewriteOptions, IFileProvider, String)

Adicionar regras de um arquivo de configuração do IIS que contém regras de reescrita de URL

AddIISUrlRewrite(RewriteOptions, TextReader, Boolean)

Adicionar regras de um arquivo de configuração do IIS que contém regras de reescrita de URL

AddIISUrlRewrite(RewriteOptions, IFileProvider, String, Boolean)

Adicionar regras de um arquivo de configuração do IIS que contém regras de reescrita de URL

AddIISUrlRewrite(RewriteOptions, TextReader)

Origem:
IISUrlRewriteOptionsExtensions.cs
Origem:
IISUrlRewriteOptionsExtensions.cs

Adicionar regras de um arquivo de configuração do IIS que contém regras de reescrita de URL

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

Parâmetros

reader
TextReader

O fluxo do leitor de texto.

Retornos

Aplica-se a

AddIISUrlRewrite(RewriteOptions, IFileProvider, String)

Origem:
IISUrlRewriteOptionsExtensions.cs
Origem:
IISUrlRewriteOptionsExtensions.cs

Adicionar regras de um arquivo de configuração do IIS que contém regras de reescrita de URL

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

Parâmetros

fileProvider
IFileProvider

O IFileProvider

filePath
String

O caminho para o arquivo que contém regras urlRewrite.

Retornos

Aplica-se a

AddIISUrlRewrite(RewriteOptions, TextReader, Boolean)

Origem:
IISUrlRewriteOptionsExtensions.cs

Adicionar regras de um arquivo de configuração do IIS que contém regras de reescrita de URL

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

Parâmetros

reader
TextReader

O fluxo do leitor de texto.

alwaysUseManagedServerVariables
Boolean

As variáveis de servidor serão originádas por padrão do servidor se ele der suporte ao IServerVariablesFeature recurso. Use true para desabilitar esse comportamento

Retornos

Aplica-se a

AddIISUrlRewrite(RewriteOptions, IFileProvider, String, Boolean)

Origem:
IISUrlRewriteOptionsExtensions.cs

Adicionar regras de um arquivo de configuração do IIS que contém regras de reescrita de URL

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

Parâmetros

fileProvider
IFileProvider

O IFileProvider

filePath
String

O caminho para o arquivo que contém regras urlRewrite.

alwaysUseManagedServerVariables
Boolean

As variáveis de servidor serão originádas por padrão do servidor se ele der suporte ao IServerVariablesFeature recurso. Use true para desabilitar esse comportamento

Retornos

Aplica-se a