The Intersection Observer API observes changes in the intersection of a target element with document's viewport. I will show how to implement Intersection Observer API for image rendering. Using this API, only images present in the viewport will be loaded. This will reduce requests for fetching images on page load thus improving page performance significantly. … Continue reading Intersection Observer for image rendering on webpage
There are few ways of custom logging in SharePoint 2013 - Use SPDiagnosticsService - You may write to the ULS via SPDiagnosticsService class. Utilize diagnostics.asmx web service - I have explained how to write log in Hive 15 log file in my previous blog (How to do logging in ULS from CSOM in c#?). Logging … Continue reading Logging using List in SharePoint 2013
SharePoint Web Services lets us change the SharePoint items remotely. SharePoint web services can be used to perform many tasks like performing administrative settings, logging on to a SharePoint site, manage picture libraries etc. This blog will take you through complete list of web service provided by Microsoft in SharePoint 2013. You will also find web service description, methods and url needed to use web service in client application in this blog.
If you want to log error in 15 hive Logs folder than you have to use Diagnostics.asmx web service. You can find list of all web service library on this link : https://msdn.microsoft.com/en-us/library/office/jj193051.aspx SharePointDiagnostics web service is used to communicate with Microsoft SharePoint Foundation 2010 diagnostic services. Client applications can call this web service to … Continue reading How to do logging in ULS from CSOM in c#?
If you try to open SharePoint website hosted on local server in IE11, you will get a message from IE11 : "Sorry, this site hasn't been shared with you." What happens when you try to access SharePoint website (password protected website/Intranet application) is IE11 tries to automatically login to the top level website with default … Continue reading SharePoint 2013 website is not running in IE11 – 401 UNAUTHORIZED
What is OAuth? OAuth is an open authorization protocol based on token exchange to secure client application access to server resources. Get method is usually exposed to every client, so anyone can see data returned by the GET type service API. OAuth authorization protocol can help you protect your sensitive data. You can implement OAuth … Continue reading Oauth for Restful Service in c#