Hi,
I'd like to rewrite URLs in my code. I see how to do this with a URL provider, but I need more control over the URL. For example:
http://mydomain.com/TeacherId/1
Where the TeacherId points to a teacher table. I want the teacher name in the URL like this:
http://mydomain.com/john-smith
Where I can pull John Smith from the table and format it in a url-friendly way.
I've looked for a good example of this transformation and haven't found one in C#.