Home Top Ad

Asp.Net core 2.0 route,rewrite,dynamic rewrite url (url routing ,rewriting ,dynamic routing)







In this video we will cover up Asp.Net core 2.0 route,rewrite,dynamic rewrite url (url routing ,rewriting ,dynamic routing)

Useful code:

                var rewrite = new RewriteOptions()
               .AddRewrite(@"photogallery/(\d+)", "Gallery/Index?id=$1", skipRemainingRules: true)
                .AddRewrite(@"(\w+)", "Dynamic/Index?id=$1", skipRemainingRules: false);

                app.UseRewriter(rewrite);


Asp.Net core 2.0 route,rewrite,dynamic rewrite url (url routing ,rewriting ,dynamic routing) Asp.Net core 2.0 route,rewrite,dynamic rewrite url (url routing ,rewriting ,dynamic routing) Reviewed by Code Infosys on November 06, 2019 Rating: 5

Why you are not purchase ,At least Write in comment.

No comments