本文介绍了使用Framework 3.5进行路由的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。

我遇到问题,想和大家商量一下

我有一个页面有url的问题http:// localhost / xyz / user = username

服务于id为 username 的特定用户,并使用名为 user 的查询字符串变量

所以我希望这个网址改为http:// xyz / username

其中用户名代表相同的querystring参数,借助路由

我正在使用.NET framework 3.5

Hello all
I am facing a problem and want to discuss to you all
I have a issue that a page having url http://localhost/xyz/user=username
serves to the particular user whose id is username and goes with the query string variable named user
So i want this url to change to http://xyz/username
where username stands for the same querystring parameter with the help of routing
I am using .NET framework 3.5

推荐答案


这篇关于使用Framework 3.5进行路由的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 22:52