Kirk Evans Blog

.NET From a Markup Perspective

Call O365 using CSOM with a Console Application

This post shows how to use the SharePointOnlineCredentials class to authenticate to O365 from a console application. Background I write a ton of short samples for customers and co-workers.  I’ve written this one quite a few times but never seemed to add it to my personal source code control repository in the cloud (you are… 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

Fixing People Picker for SAML Claims Users Using LDAP

  One of the things that frustrates customers when implementing claims authentication in SharePoint is how the people picker works for SAML claims users.  If you try to add a SAML claims user to a group in SharePoint, anything you type is considered valid.  For instance, I don’t have a user named “THIS IS NOT… Read more

Create the Best App for Office 2013 in 5 Minutes

While speaking in Kuala Lumpur for the Ignite developer training, Chris O’Connor (aka @grumpiewookie) jokingly said that the whole apps for Office thing needed something catchy, something nostalgic.  We need some obscure JavaScript library to do something interesting, something entertaining yet educational. Something like Clippy. I searched for all of 30 seconds, and sure enough… Read more

How to Allow Only Users Who Have a Community Badge to Your SharePoint 2013 Site

This post will show how you can secure a web site based on if a user has been given a badge in a SharePoint 2013 community site. Badges and Reputation in SharePoint 2013 Community Sites SharePoint 2013 Community Sites provide a new set of features to implement game theory, or gamification.  One feature is called… Read more

Inside SharePoint 2013 OAuth Context Tokens

This post will show you how to inspect the SharePoint 2013 context token to better understand how OAuth is used in SharePoint 2013 apps. First, Some Context In order to use a context token with SharePoint 2013 apps, you will need to create a provider-hosted app that uses a client ID and a client secret. … Read more