Options to get data from web page

2019-08-20 09:26发布

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条回答
Anthone
2楼-- · 2019-08-20 10:12
  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.
查看更多
登录 后发表回答