Posted 09/09/2016 by Subramanian Ramanathan
Whenever we start any new project we tend to write some Utilities class with frequently used methods like GetItem, EditItem, etc. and also, adding & retrieving query strings using UriBuilder/HttpUtility.ParseQueryString API.
As we know, Sitecore uses query strings like sc_mode, sc_lang etc.
This got me a thinking.. Sitecore should have come up with its own methods for adding & retrieving query strings.
Luckily we have such methods in Sitecore.Web.WebUtil class, syntax below,