Where and how to find SharePoint web.config files. Includes a list of other web.config files used by SharePoint besides those for web applications.
Use this solution for uploading files to any REST endpoint using C#. Unlike the WebClient.UploadFile method from the .NET framework, this technique allows you to pass custom parameters that may be required by your API.
Previously, I discussed how to clear the SharePoint configuration cache (also called the SharePoint timer job cache) using a PowerShell script. For those interested, here’s some additional information on how to do the same process manually for both SharePoint 2010 and SharePoint 2013.
When developing solutions containing timer jobs, the timer job may continue running code from an older assembly which has been uninstalled but simply remained cached. To fix this, use the provided script to clear the timer job cache across all servers in the SharePoint farm.
For quick reference: C# and PowerShell code snippets to grab the SharePoint central admin url for a farm.