Search code examples
EXAMPLE-A
asp.net-mvc
url
parameters
querystringparameter
Options to get data from web page
What to use and when (or: what you would choose and why):
default route and query string only
routing (changes only) without query string
Solution
Clean Global.Asax - you dont need to treat every param, but to use patterns.
Security - for the simple users it will not intuitive to edit the param value in one mouse-click at the uri line.
You can simplify the site structure by using canonical form of URLs
You can hide the aspx extention, ‘?’ and ‘&’ characters in the query string
Helps you in SEO thru the refined site structure
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.
Close Ad