如何在 asp.net mvc 中隐藏 url 中的参数
How to hide parameters in url in asp.net mvc
我的Url就像
https://www.Mydomainname.com/Service/subServices/2
我想要它像
https://www.Mydomainname.com/Service/subServices
但是我想使用这个 [2] 作为 id 我如何隐藏这个参数
必须做一个 post。使用 get 将始终导致附加参数。
我的Url就像 https://www.Mydomainname.com/Service/subServices/2 我想要它像 https://www.Mydomainname.com/Service/subServices 但是我想使用这个 [2] 作为 id 我如何隐藏这个参数
必须做一个 post。使用 get 将始终导致附加参数。