IISUrlRewriteOptionsExtensions.AddIISUrlRewrite Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
AddIISUrlRewrite(RewriteOptions, TextReader) |
Menambahkan aturan dari file konfigurasi IIS yang berisi aturan Penulisan Ulang Url |
AddIISUrlRewrite(RewriteOptions, IFileProvider, String) |
Menambahkan aturan dari file konfigurasi IIS yang berisi aturan Penulisan Ulang Url |
AddIISUrlRewrite(RewriteOptions, TextReader, Boolean) |
Menambahkan aturan dari file konfigurasi IIS yang berisi aturan Penulisan Ulang Url |
AddIISUrlRewrite(RewriteOptions, IFileProvider, String, Boolean) |
Menambahkan aturan dari file konfigurasi IIS yang berisi aturan Penulisan Ulang Url |
AddIISUrlRewrite(RewriteOptions, TextReader)
Menambahkan aturan dari file konfigurasi IIS yang berisi aturan Penulisan Ulang 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
Parameter
- options
- RewriteOptions
Tje RewriteOptions
- reader
- TextReader
Aliran pembaca teks.
Mengembalikan
Berlaku untuk
AddIISUrlRewrite(RewriteOptions, IFileProvider, String)
Menambahkan aturan dari file konfigurasi IIS yang berisi aturan Penulisan Ulang 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
Parameter
- options
- RewriteOptions
Tje RewriteOptions
- fileProvider
- IFileProvider
Tje IFileProvider
- filePath
- String
Jalur ke file yang berisi aturan UrlRewrite.
Mengembalikan
Berlaku untuk
AddIISUrlRewrite(RewriteOptions, TextReader, Boolean)
Menambahkan aturan dari file konfigurasi IIS yang berisi aturan Penulisan Ulang 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
Parameter
- options
- RewriteOptions
Tje RewriteOptions
- reader
- TextReader
Aliran pembaca teks.
- alwaysUseManagedServerVariables
- Boolean
Variabel server secara default bersumber dari server jika mendukung fitur tersebut IServerVariablesFeature . Gunakan true
untuk menonaktifkan perilaku tersebut
Mengembalikan
Berlaku untuk
AddIISUrlRewrite(RewriteOptions, IFileProvider, String, Boolean)
Menambahkan aturan dari file konfigurasi IIS yang berisi aturan Penulisan Ulang 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
Parameter
- options
- RewriteOptions
Tje RewriteOptions
- fileProvider
- IFileProvider
Tje IFileProvider
- filePath
- String
Jalur ke file yang berisi aturan UrlRewrite.
- alwaysUseManagedServerVariables
- Boolean
Variabel server secara default bersumber dari server jika mendukung fitur tersebut IServerVariablesFeature . Gunakan true
untuk menonaktifkan perilaku tersebut