Is it a good practice to use html.encode before passing the query string parameters to the business layer? The scenario is with respect to asp.net framework, and I am wondering if I must encode the contents of query string or not before reading the values from the keys?
I know we can always convert the contents to expected data type, but my question is from a designs perspective.
Thanks!