Working with query strings in Sitecore
In .NET there is no dedicated class for working with query strings. So adding, removing or changing query string parameters requires lots of code with check for parameters existing, placement in the query string and so on.
Fortunately Sitecore has made working with query strings very easy with the UrlString class. In this article I will demonstrate how to use it to manipulate query strings.