Getting an absolute path from a relative one has been made very easy and pleasant by .NET. Just feed the relative path to the “Page.ResolveUrl” method and that’s it!
One thing that was left out by .NET though is how to get an absolute URL from a relative path? With social networks on the rise, passing around your links has become more important than ever. There are many ways to do this, but all have their drawbacks. I will show you a static method that I use that solves just about all cases… Continued here
Leave a Reply