I have a Sandbox solution webpart1 that receives a absolute URL in the webpart settings's section.
Due to native limitations of sandboxes solutions, I'm looking for a C# - code
for encode an absolute URL without using HttpServerUtility and related/pre-built classes.
I already search and try the following code and also this comment, but I can't understand or get a more legible code or approach for create a more sutile for my specific situation.
1 I'm working on a sandboxed solution that I was developed a few months ago and change sandboxed solution to Apps/Add-ins is not valid in this case.