Options to get data from web page

╄→гoц情女王★ 提交于 2019-12-11 17:06:17

问题


What to use and when (or: what you would choose and why):

  1. default route and query string only
  2. routing (changes only) without query string

回答1:


  1. Clean Global.Asax - you dont need to treat every param, but to use patterns.
  2. Security - for the simple users it will not intuitive to edit the param value in one mouse-click at the uri line.
  3. You can simplify the site structure by using canonical form of URLs
  4. You can hide the aspx extention, ‘?’ and ‘&’ characters in the query string
  5. Helps you in SEO thru the refined site structure
  6. Since the URL structure is simplified, the application is easily portable to a non ASP platform as the URLs don’t have aspx in them.


来源:https://stackoverflow.com/questions/45835759/options-to-get-data-from-web-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!