3

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

DaveRandom
  • 87,921
  • 11
  • 154
  • 174
pistacchio
  • 56,889
  • 107
  • 278
  • 420

1 Answers1

7

Stackoverflow Archive:

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

Community
  • 1
  • 1
Sampson
  • 265,109
  • 74
  • 539
  • 565