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
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...
23 Apr 2014
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...
15 Apr 2014
Deploying a SharePoint App to Azure As Part of a Build
This post will show how to use continuous integration with a SharePoint provider-hosted app deployed to an Azure web site. Background I’ve written on the topic of SharePoint apps and ALM before, but I couldn’t get the whole thing to work with Azure web sites, just my own IIS server. I decided it...
2 Apr 2014
Deploying an Azure Web Site Using Git and Continuous Integration
This post will show how to deploy an Azure Web Site using Git and Continuous Integration. By the time I typed that long title, I’ve told you pretty much the whole story. Background I attended the Global Windows Azure Bootcamp today and had a blast going through labs and watching demos. ...
31 Mar 2014
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. You can watch the video online of the presentation that I did about this solution at SharePoint Conference 2014, Building SharePoint Apps with Windows Azure Platform as a Service, at...
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
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
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: 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 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
Setting Up FBA and SQL Membership in SharePoint 2010 with PowerShell
This post provides PowerShell script to easily configure SQL FBA in SharePoint 2010. A long time ago, I wrote a blog post that shows how to configure the SQL Server Provider for FBA in SharePoint 2010 . I have been working on a project that requires me to configure FBA, and I got kind of tired...
29 Aug 2012
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
Capturing a Memory Dump Using DebugDiag 1.2
In previous posts, I talked about using WinDBG to debug. Another incredibly handy tool to have at your disposal is the Debug Diagnostic Tool, or DebugDiag 1.2 . This tool can be used to automatically capture a memory dump when an exception occurs. To understand some of the tools at...
6 Sep 2011
Modifying the Page Layout for Enterprise Wiki Pages in SharePoint 2010
In this post, I will show how to modify the page layout for Wiki pages in SharePoint 2010. There are many reasons you might want to edit the page layout for a Wiki page. For instance, you might want to move the Modified By and Last Modified Date fields to appear below the content. You might...
7 Jul 2011
Programmatically Creating a SharePoint Content Type
I have been working on a project that requires creating a content type programmatically. Admittedly, it took me awhile to figure it out. You can create a content type for SharePoint declaratively in a feature using XML similar to the following: <? xml version ="1.0" encoding...
29 Apr 2011
User Controls and Server Controls in SharePoint
ASP.NET developers have enjoyed using user controls and server controls in their development since ASP.NET was created. This post talks about user controls and server controls and shows how to implement them in SharePoint. User Controls A user control is a control that is associated with a .ASCX...
28 Apr 2011
An interesting question was posted on one of the distribution lists today. “The client wanted to look into this MSDN drag and drop typed left navigation bar to work on Sharepoint 2010, does anyone make this work or have idea about this?” Click the control that is circled, and the menu is expanded or...
25 Apr 2011
Page 1 of 3 (68 items)
© 2014 Microsoft Corporation.
Privacy & Cookies