Author Archives: Stu

Developing a Provider-Hosted Add-In

Following on from the post detailing setting up a development environment for provider-hosted add-ins, let’s move on and walk through creating an add-in. Start by creating a new “SharePoint Add-In”. Then give the solution a name and choose a save … Continue reading

Posted in .Net, Development, SharePoint, Visual Studio | Tagged , , | Leave a comment

Scripting Add-Ins for Deployment

Scripting the creation of SharePoint add-in packages is pretty straight forward. As I found there to be not very many posts on this topic, I thought I’d share how I implemented it. To create and deploy is also easy from … Continue reading

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

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