Kirk Evans Blog
.NET From a Markup Perspective
Translate This Page
Translate this page
Atlanta Microsoft Events
Azure Web Sites
Dallas Microsoft Events
Enterprise Social Computing
Life at Microsoft
SQL Server 2005
SQL Server 2008
SQL Server 2012
Visual Studio 2008
Visual Studio 2010
Visual Studio 2012
Visual Studio 2013
Windows Phone 7
Windows Presentation Foundation
Windows Server 2008
Windows Server 2012
Windows Workflow Foundation
XML Web Services
Browse by Tags
Kirk Evans Blog
Tagged Content List
Building SharePoint 2013 Apps with Windows Azure PaaS
This post will show how to create a SharePoint 2013 app leveraging Windows Azure PaaS and the Windows Azure SDK 2.2. Background I recently joined the Windows Azure Modern Apps Center of Excellence at Microsoft, and have been focused on Azure. Since I have done so much work with SharePoint apps...
4 Mar 2014
Building a SharePoint App as a Timer Job
This post will show how to create an app as a timer job. Background One of the complicated parts of the app model today is trying to figure out how to do things that I used to do in full trust code using the app model. Honestly, things look a little different, and this pattern will be useful to...
2 Mar 2014
Attaching Remote Event Receivers to Lists in the Host Web
This post shows how to attach a remote event receiver to a list in the host web for a SharePoint provider-hosted app. Background While working on the SharePoint 2013 Ignite content, apps were still very much new and very little documentation existed. We were fighting a problem of using an app that...
26 Feb 2014
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...
23 Feb 2014
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. ...
30 Nov 2013
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...
24 Oct 2013
Enabling the Developer Site Collection Feature in SharePoint Online
I have been doing a bit of work updating some of our content for apps lately, and I found a couple areas where I needed to enable the developer site collection feature for a new site collection. You might want to enable the developer site collection feature when you need to side-load an app and...
5 Oct 2013
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...
24 Sep 2013
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...
25 Aug 2013
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 for SharePoint...
20 Aug 2013
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...
16 Aug 2013
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...
15 Aug 2013
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 TFS Build...
15 Aug 2013
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...
26 Jun 2013
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...
26 May 2013
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...
22 Apr 2013
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...
17 Apr 2013
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...
5 Apr 2013
Creating High Trust SharePoint Apps with Microsoft Office Developer Tools for Visual Studio 2012 - Preview 2
This post shows how to create a High Trust app using Microsoft Office Developer Tools for Visual Studio 2012 - Preview 2 tools. During SharePoint Conference 2012, Scott Guthrie announced the release of Microsoft Office Developer Tools for Visual Studio 2012 - Preview 2 . These are the tools to add to...
27 Nov 2012
Inside the SharePoint 2010 My Site Cleanup Timer Job
This post will discuss what the SharePoint 2010 My Site Cleanup Timer Job is, what it does, and how to manage it. If you need to implement your own cleanup process, this post will also provide building blocks for implementing your own solution to manage deleted users and My Sites. What is the My...
25 Jun 2012
Querying Active Directory Using Principal Extensions in System.DirectoryServices.AccountManagement
I recently had a project where I needed to query the extensionAttribute1 – extensionAttribute15 attributes for users from Active Directory. I’ve already written about how to query Active Directory using System.DirectoryServices.DirectoryEntry . In that post, a reader named Marc suggested...
11 Apr 2012
SharePoint 2010 CAML List Joins
This post demonstrates how to use the JOIN syntax in CAML. A customer pinged me asking about how to write a JOIN query in CAML. Honestly, I haven’t done this since in a long time, so it took awhile to shake off the cobwebs. I tried to make things explicit and easy to reproduce in your environment...
20 Jan 2012
Create DNS Entries From a File
This post will show how to create DNS entries from a file using the DNSCmd.exe tool. Background I have a kind of edge case that I am trying to troubleshoot for my customer. They have a lot of sub-companies, and they created a web application per company. Fast forward a few years, they now...
2 Nov 2011
Set IIS Log Fields with C#
This post shows how to set the log fields for IIS web sites programmatically. Code is attached at the end of the post. Background I have a customer that has many web applications, and we need to set the IIS log fields to do some investigation. James Blackwell posted a great sample of how to do...
2 Nov 2011
Making The Case for Async Web Parts
This post will show how to make a call to HttpWebRequest asynchronously from a web part and wait on the result or time out. Years ago, I was fortunate to meet Jeff Richter and attend a session he gave on .NET performance . He discussed I/O completion ports and showed why any calls from an ASP.NET...
24 Oct 2011
Page 1 of 8 (197 items)
© 2014 Microsoft Corporation.
Privacy & Cookies