RewriteBuilderExtensions.UseRewriter 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
UseRewriter(IApplicationBuilder) |
Memeriksa apakah Url tertentu cocok dengan aturan dan kondisi, dan memodifikasi HttpContext pada kecocokan. |
UseRewriter(IApplicationBuilder, RewriteOptions) |
Memeriksa apakah Url tertentu cocok dengan aturan dan kondisi, dan memodifikasi HttpContext pada kecocokan. |
UseRewriter(IApplicationBuilder)
- Sumber:
- RewriteBuilderExtensions.cs
- Sumber:
- RewriteBuilderExtensions.cs
- Sumber:
- RewriteBuilderExtensions.cs
Memeriksa apakah Url tertentu cocok dengan aturan dan kondisi, dan memodifikasi HttpContext pada kecocokan.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseRewriter(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRewriter (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseRewriter : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseRewriter (app As IApplicationBuilder) As IApplicationBuilder
Parameter
Mengembalikan
Berlaku untuk
UseRewriter(IApplicationBuilder, RewriteOptions)
- Sumber:
- RewriteBuilderExtensions.cs
- Sumber:
- RewriteBuilderExtensions.cs
- Sumber:
- RewriteBuilderExtensions.cs
Memeriksa apakah Url tertentu cocok dengan aturan dan kondisi, dan memodifikasi HttpContext pada kecocokan.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseRewriter(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Rewrite::RewriteOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRewriter (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Rewrite.RewriteOptions options);
static member UseRewriter : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Rewrite.RewriteOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseRewriter (app As IApplicationBuilder, options As RewriteOptions) As IApplicationBuilder
Parameter
- options
- RewriteOptions
Opsi untuk penulisan ulang.