Let's say the only input I have from the user is the full URL to a folder in a Document Library called "Public Documents":
Using the ClientContext constructor from the client object model, I can't pass it the full URL because it will say site not found under "SubFolder". I have to somehow parse the URL to pass either the site collection or the web "SubSite" to the ClientContext constructor to get a ClientContext.
What are some creative ways to parse the URL to get the CSOM objects from the URL string:
Thanks for your help!