How to create a short URL for public profile page
how can i create a url for开发者_开发问答 public profile page like this type www.mywebsite/myname and this url redirect me to may public profile page in mywebsite
where actual url may be of this type www.ywebsite/user/publicProfile?uid=12 etcYou're best bet would be to go with ASP.NET routing.
http://msdn.microsoft.com/en-us/library/cc668201.aspx
Although to get where you could use a username instead of an ID in the URL you would have to do some additional querying behind on the page that has the public profile to get the appropriate ID for the specific user name.
精彩评论