Monthly Archives: April 2020

Client Context in AddIn

How to get the client context for code in a provider-hosted add-in that is called outside of the SharePoint context. For example, you want a page in your solution to be called directly and not from SharePoint. Reasons for this … Continue reading

Posted in SharePoint, SharePoint Shorts | Tagged | Leave a comment

Register Self-Signed Certificate

If you’re setting up your development environment for writing provider-hosted SharePoint add-ins, you need a register the SharePoint IIS certificate with the remote web used by the add-in(s). A quick and easy way to do this is to register a … Continue reading

Posted in Configuration, SharePoint | Tagged , , , | Leave a comment

Unregistering an Add-in

Registering an add-in for SharePoint is easy enough. You go to the _layouts/appregnew.aspx page for the site and register the add-in. Permissions are set when the add-in is installed on the site too. This happens after you’ve clicked Trust It … Continue reading

Posted in SharePoint | Tagged , | Leave a comment