April 29, 2009@ 02:31 PMComments [0]How to handle non-English characters in ASP.NET MVC routes One of the most amazing features of ASP.NET MVC is its powerful routing engine that let you define clear URLs for your web application. Today I want to share a very simple and short tip with you to handle non-English URLs in your ActionLink methods. Let’s start with an example; in a blog engine we have two routes as follows:routes.MapRoute("ShowPost","read/{url}",new { controller = "Post", action = "Show" } ...
|
12
shouts |
|
|||
No comments yet, be the first one to post comment.