Is there a legitimate performance reason for using Request.Querystring("key")
over Request("key")
for accessing QueryString values?
Request.Item("key")
(which I believe is the equivalent of Request("key")
) pulls from the following data sources:
- QueryString
- Form
- Cookies
- ServerVariables
This suggests to me that Request.QueryString("key") will have better performance, but I see enough people using Request("key") that I've started to wonder. Clearly Request("key")
obfuscates the data source, but the context if my question is performance.