如何在asp.net中重写查询字符串url [英] How can rewrite query string url in asp.net
本文介绍了如何在asp.net中重写查询字符串url的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在asp.net中重写查询字符串网址
as
http:// localhost:55389 / NXG-ALPHA / Resumes?Title = S / W-In-a-Core-IT-Company /& ItemId = 597282459 [ ^ ]
http:// localhost:55389 / NXG-ALPHA / S / w-In-a-Core-IT-Company / [ ^ ]
How can rewrite query string urls in asp.net
as
http://localhost:55389/NXG-ALPHA/Resumes?Title=S/w-In-a-Core-IT-Company/&ItemId=597282459[^]
http://localhost:55389/NXG-ALPHA/S/w-In-a-Core-IT-Company/[^]
推荐答案
按照使用ASP.NET 4.0进行URL路由 [ ^ ]
请参考以下链接。
http: //weblogs.asp.net/scottgu/tip-trick-url-rewriting-with-asp-net [ ^ ]
http://www.beansoftware.com/ASP.NET-Tutorials/URL-Rewriting-ASP.NET.aspx [ ^ ]
https://www.simple-talk.com/dotnet/asp.net/a-complete-url-rewriting-solution-for -asp.net-2.0 / [ ^ ] < br $> b $ b
http:// ruslany.net/2009/04/10-url-rewriting-tips-and-tricks/ [ ^ ]
Please refer below links.
http://weblogs.asp.net/scottgu/tip-trick-url-rewriting-with-asp-net[^]
http://www.beansoftware.com/ASP.NET-Tutorials/URL-Rewriting-ASP.NET.aspx[^]
https://www.simple-talk.com/dotnet/asp.net/a-complete-url-rewriting-solution-for-asp.net-2.0/[^]
http://ruslany.net/2009/04/10-url-rewriting-tips-and-tricks/[^]
这篇关于如何在asp.net中重写查询字符串url的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文