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

preview_player
Показать описание
Click to below link for more details about this

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);


__--Follow Me--__
Subscribe Us
Рекомендации по теме
Комментарии
Автор

Great tutorial! you saved me hours of digging.

spauldingcanada
Автор

Great tutorials. Can you help me with Category and Sub-Categories like news/news-1, event/event-1, etc dynamically

raoshankar
Автор

First thank you for sharing video.

I'm using Rewrite in a project with an admin panel. But I want to exclude my Admin panel pages in the Rewrite process. I did this process smoothly on the front. But this time, my admin panel pages were also affected. This way my admin panel is not working correctly.

Do you know a way to solve this problem?

umitatestr
Автор

man, the click sound is absolute annoying, have you watch the video before upload it?

aldocostasantos
Автор

Very poor audio.
While use Head phone, Mouse click sound kills ear.
Please re-upload this.

ankurworld