【发布时间】:2020-07-25 16:53:33
【问题描述】:
我想从 url 中隐藏查询字符串,例如
http://example.com/productlist/id=2/pageno/3
我的网址应该是这样的
http://example.com/productlist
【问题讨论】:
-
不要使用查询字符串,而是使用 HTTP post 传递您的数据
-
你能举个例子,因为我是开发新手
标签: c# asp.net-mvc query-string asp.net-mvc-5.1