Kirk Evans Blog

.NET From a Markup Perspective

The API Economy: Consuming Our Web API from a Single Page App

This post shows how to consume a Web API secured with Azure Active Directory using ADAL.js. Background This post is part of a series on building a SharePoint app that communicate with services protected by Azure AD. Part 1 – An Architecture for SharePoint Apps That Call Other Services Part 2 – Using OpenID Connect… Read more

A Sample SharePoint App That Calls A Custom Web API

This post will show how to create a Web API that calls other services on behalf of the current user. Background This post is part of a series on building a SharePoint app that communicate with services protected by Azure AD. Part 1 – An Architecture for SharePoint Apps That Call Other Services Part 2… Read more

Call O365 Exchange Online API from a SharePoint App

This post will show how to call an O365 Exchange Online API from a SharePoint provider-hosted app.  The code for this post is available at https://github.com/kaevans/spapp-exchange.  Background This post is part of a series on building a SharePoint app that communicate with services protected by Azure AD. Part 1 – An Architecture for SharePoint Apps… Read more

Indexing DocumentDB with Azure Seach

This post will show how to configure DocumentDB as a data source to be indexed using Azure Search. Background I wrote a post Indexing Azure SQL Database with Azure Search that shows how to index an Azure SQL Database using Azure Search.  Once I started playing around with it and reading through the documentation, I… Read more

Indexing Azure SQL Database with Azure Search

This post will show how to index a table in an Azure SQL Database using Azure Search. Background I am always trying to learn more about Azure, about things that are possible.  One thing I just learned today that I had to share was the ability to use Azure Search against an Azure SQL Database. … Read more

Call Multiple Services With One Login Prompt Using ADAL

This blog will show how to create a client application using Active Directory Authentication Library (ADAL) that authenticates to multiple Web API applications in Azure Active Directory while only prompting the user a single time for credentials. Background I wrote a previous post that showed how you can create your own Web API that enables… Read more

Calling O365 APIs from your Web API on behalf of a user

This post will show how to create a custom Web API that calls the Office 365 APIs on behalf of a user. Background How about that title?!?  That’s pretty geeky. I’ve been working with a customer who is interested in the new Office 365 APIs that were announced at SharePoint Conference.  They are building multiple… 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

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

How I Became a SharePoint 2010 MCM

I recently attained the Microsoft Certified Master for SharePoint 2010 certification.  I have long wanted to write about the experience, but honestly didn’t know how to begin.  After quite a few conversations with friends and colleagues, I thought I would share some insight about the process.  I am not writing this to dissuade you from… Read more