Ответ 1
Я все еще использую HttpContext.Current.Request.QueryString
в MVC3...
if (!Request.QueryString["ParameterName"].IsEmpty())
{
// Do something only if URL parameter "ParameterName" is not empty...
}
Например:
http://192.168.1.106:7777/Measurement?sort=FatPercentage&sortdir=DESC
if (!Request.QueryString["sort"].IsEmpty())
{
// sort=FatPercentage. It not empty and this code block will be executed
}