Kirk Evans Blog

.NET From a Markup Perspective

High Trust SharePoint Apps on Non-Microsoft Platforms

This post will discuss some options for building high-trust apps for SharePoint when the app is not running on a Microsoft platform.  Background Let me start this post by saying I don’t have code to announce or a solution to provide.  I am merely pointing out that building both low-trust and high-trust apps on non-Microsoft… Read more

What Every Developer Needs to Know About SharePoint Apps, CSOM, and Anonymous Publishing Sites

This post will show what works and what doesn’t with CSOM and REST in a SharePoint 2013 publishing site that permits anonymous access.  More importantly, we show what you should and should not do… and why. Overview I frequently see questions about using SharePoint apps with “public-facing web sites” where the web content is available… Read more

Introducing SharePointContext for Provider-Hosted SharePoint Apps!

One of the more frustrating parts of building provider-hosted apps for SharePoint 2013 was that you needed to choose ahead of time if you were targeting a low-trust app or a high-trust app and use the appropriate methods in TokenHelper.cs.  Not only that, but figuring out how to use the app-only policy was less than… Read more

Creating a Fiddler Extension for SharePoint 2013 App Tokens

This post will show how to create a Fiddler extension to inspect SharePoint 2013 context and access tokens.   [Update 11/21/2013: Andrew Connell was nice enough to post this project to GitHub to allow the community to make contributions to the project. Visit his blog for more information on contributing!] Overview In a previous post,… Read more

ALM for SharePoint Apps – Understanding Provider Hosted App Publishing

This post shows how to create a publishing profile for provider-hosted apps and use them as part of the build process. Overview This is part 4 in a series on ALM for SharePoint 2013 apps. Part 1 – ALM for SharePoint Apps: Configuring a TFS Build Server with Team Foundation Service Part 2 – ALM… Read more

ALM for SharePoint Apps: Customizing the Build Process with a Custom Workflow Activity

This post shows how to create a custom customize the build process for provider-hosted apps with a custom workflow activity that will update the appmanifest.xml file for a provider-hosted app to point to different web servers. Overview This is part 3 in a series on ALM for SharePoint Apps. Part 1 – ALM for SharePoint… Read more

ALM for SharePoint Apps: Implementing Continuous Integration

This post shows how to implement continuous integration for a provider-hosted app in SharePoint 2013.  Overview This is Part 2 of a series. Part 1 – ALM for SharePoint Apps: Configuring a TFS Build Server with Team Foundation Service Part 2 – ALM for SharePoint Apps: Implementing Continuous Integration (this post) Part 3 – ALM… Read more

ALM for SharePoint Apps: Configuring a TFS Build Server with Team Foundation Service

This post shows how to configure a TFS Team Build 2012 server with Team Foundation Service in the cloud, and how to create a basic build of a SharePoint 2013 provider hosted app. Overview This is part 1 of a series on ALM for SharePoint Apps. Part 1 – ALM for SharePoint Apps: Configuring a… Read more

SharePoint 2013 User Profile Sync for Claims Users

I have been working with claims authentication quite a bit lately, and something that can be frustrating when using claims authentication for Forms Based Authentication (FBA) or SAML claims is that when you log in you see the claims identifier instead of the user’s name.  As an example, I configured an FBA provider to use… Read more

SharePoint 2013 App Only Policy Made Easy

This post demonstrates the app only policy for SharePoint 2013 app development and show how to create SharePoint 2013 apps using OAuth tokens with either a trust to ACS as well as S2S.  I show how to request the AllowAppOnlyPolicy permission and how to execute actions that the current user is not authorized to perform… Read more