
- safe way to check if key is presented - safe parsing int values in query - should replace int.Parse() _jobId = Int32.Parse(PageState.QueryString["id"]); can throw unhandled exception when "id" is not int correct way if (PageState.Uri.TryGetQueryValueInt("id",out _jobId)) ....