Wednesday, February 23, 2022

SharePoint CSOM get absolute url from FileRef

 This one liner can return absolute url of an item using its FileRef property

var absoluteUrl = new Uri(context.Url).GetLeftPart(UriPartial.Authority) + serverRelativeUrl;



No comments:

SSL Error - The connection for this site is not secure

 After cloning a git repo of dot net framework website and trying to run it all I could see was this error Turns out the fix was to simply e...