Cannot believe that developer forgot to include this at the end of shortening process:
if(strShortenedURL.Length > strURL.Length) { //Handle this case //donot use shortened version, use original URL }
if(strShortenedURL.Length > strURL.Length) { //Handle this case //donot use shortened version, use original URL }