Generating User-Friendly URLs

asp.net-mvc, c#, friendly-url, rest

Solution

Stackoverflow Archive:

- Making strings URL Friendly (eg: convert Montréal to Montreal)

- How do I generate a friendly url in C#?

- Safe characters for friendly url

- How can I create a friendly URL in ASP.NET MVC?

For more: Google "site:stackoverflow.com friendly url .NET C#"

Problem

Is there a standard way / C# library to convert a string into a user friendly uri in order to use it in a RESTful MVC environment? StackOverflow does this, for example "èòà" are converted to "eoa", question marks are removed while dots, commas and brackets are replaced with "-" and so on. Any suggestion? Thanks

Original source

Related problems