Kirk Evans Blog

.NET From a Markup Perspective

Browse by Tags

Tagged Content List
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: Using OpenID Connect with SharePoint Apps

    This post will show how to authenticate a user using OpenID Connect in a SharePoint provider hosted app without prompting the user for additional credentials.  Background This post is part of a series on building a SharePoint app that communicate with services protected by Azure AD. Part 1 - An...
  • Blog Post: An Architecture for SharePoint Apps That Call Other Services

    This post will show an architecture for a SharePoint provider hosted app that calls other services such as the O365 API for Exchange, Azure AD Graph API, PowerBI API, or a custom Web API. Background This post is part of a series on building a SharePoint app that communicate with services protected by...
  • Blog Post: Install a New Active Directory forest on an Azure Virtual Network

    This post will show how to install a new Active Directory forest on an Azure Virtual Network.  We will use this domain controller and virtual network in subsequent posts. DISCLAIMER: This post does not contain definitive guidance on the correct way to create a domain controller in Azure.  For...
  • Blog Post: Making SharePoint Apps Scale with Azure Redis Cache

    This post will show how to create custom classes for a SharePoint 2013 app that enable the use of Azure Redis Cache. Background Often times there are web application design constraints that require use of session state. From Scott Guthrie’s book: It's often not practical in a real-world...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: Setting a SharePoint Person or Group Field Value with CSOM

    I recently was asked a question about setting a Person or Group field value in a list using CSOM.  This post shows how to programmatically set a user or group field value using CSOM. Background A developer wants to programmatically add users as members to a Community site in SharePoint 2013. ...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: Access Services 2013 Setup for an On-Premises Installation

    This blog post will show you how to configure Access Services 2013 to use in your own environment. Overview Back in August 2012, when SharePoint 2013 was just in Beta 2 phase and not yet released, I wrote a blog post on Configuring Access Services 2013 on Premises . That blog post was accurate...
  • Blog Post: Build Session: Understanding Authentication and Permissions with Apps for SharePoint and Office

    I am privileged to present at the Build 2013 conference Understanding Authentication and Permissions with Apps for SharePoint and Office .  This session focuses on helping you to understand what an app principal is, how they are registered, and how OAuth is used with Office 365 to provide authentication...
  • Blog Post: My Deck from SharePoint and Windows PowerShell

    I am presenting tonight to the Arizona PowerShell User Group on “SharePoint and Windows PowerShell”. Here is the agenda for the talk: Adding SharePoint snap-in to ISE SharePoint Nouns and Verbs SharePoint –isms Site structure creation Shell administrators Service...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: Clarifying Guidance on SharePoint Security Groups versus Active Directory Domain Services Groups

    I received the following question on the SPYam group on Yammer, and decided to share the information with the broader audience via my blog. For SharePoint security Microsoft always recommended to use Active directory group inside SharePoint group. But this guidance now changed Microsoft now recommend...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: Configuring LDAP for FBA in SharePoint 2010 or SharePoint 2013 with PowerShell

    This post provides PowerShell script to easily configure forms based authentication using LDAP in SharePoint 2010 or 2013. A long time ago, I wrote a post that shows how to configure the SQL Server Provider for FBA in SharePoint 2010 . I also wrote an accompanying post on how to automate configuring...
Page 1 of 3 (58 items) 123