SharePoint Blog

Configuring Log4Net for use with an Azure Cloud Service

This post is nothing more than just a quick write up of getting Log4Net – your favorite logging framework, otherwise you wouldn’t be reading this – to work in Microsoft’s Azure Cloud. Ah, well … Let me be more precise: Get it to work primarily locally on your development box, where Azure is nicely emulated.

Assuming you’ve just created a new Azure Cloud Service Project with a WebRole (I’v…

Creating WebTemplate for SharePoint 2013 (OnPrem)

I was surprised to find that the creating a WebTemplate (instead of a full blown Site Definition) is so poorly documented. There are a couple of really extensive blogs around, but still they don’t unveil the utmost important detail of how to provision the ONET.XML whilst avoiding receiving a 0x8107026E error. If this is the reason you’re here then you better make sure that you named t…

Develop a Provider-Hosted SharePoint App for hybrid Site Collection provisioning

Introduction
Using the steps below, I was able to develop a Provider-Hosted SharePoint App for hybrid Site Collection provisioning i.e. in SharePoint Online as well as on premise. The Provider-Hosted SharePoint App will act as a “stub” for a WCF (Web) Service. This service will be called from a Remote Event Receiver that has been added to a list in the App Web. Once triggered, the Provider…

A simple TypeScript Pattern for more synchronize asynchronous programming

Now that the days have become shorter and it’s too cold for long nights on the terrace, I had some time available to play experiment with TypeScript. On CodePlex you’ll find a sample project that illustrates how you can use TypeScript for a more synchronized approache to asynchronous programming.
https://asyncobservable.codeplex.com/
The AsyncObservable pattern is in fact a simple App that…

Using TypeScript for SharePoint App Development

This post is the first one in a series on developing SharePoint 2013 Apps using TypeScript. I’ve become a big fan of TypeScript, as it allows me to write cleaner JavaScript code, inspires me because I can think in object oriented patterns like for example Observable etc., helps me organize (and re-use) my code in libraries and gives me the full power of Intellisense in Visual Studio (Express).

Consuming an External OData service from an SharePoint 2013 App

Ever wondered how you can consume an external OData Service from a SharePoint 2013 App? Well, I did and it came at the cost of a fair bit of headache because I kept feeling I was missing one essential piece of the puzzle: An ODataConnectionSettingId.
Ok, let’s start at the beginning. I created an account with visualstudio.com and wanted to retrieve data from my online TFS project in SharePoint.

List does not exist The page you selected contains a list that does not exist. It may have been deleted by another user.

Are you a SharePoint developer and currently struggling with a SharePoint error, telling you “List does not exist The page you selected contains a list that does not exist. It may have been deleted by another user”? I struggled a long time with this error and none of the entries in Blog Posts that I found were worth a dime. What happened to me was that I was developing a SharePoint 2013…

So what are SharePoint Apps?

What should have a fun night between friends, ended in a long and weary discussion about SharePoint 2013 Apps, Multi-Tenancy and what it all means. And to be honest, I’m still not sure whether I hold the right end of the stick. So feel free and leave any comments helping me better understand everything there is about SharePoint 2013 Apps and what they really are.
I guess (one of) the shortest…

Consume your custom (SharePoint 2013 hosted) WCF Data Service in a SharePoint 2013 App

I think this will be my shortest post ever. To consume your custom (SharePoint 2013 hosted) WCF Data Service in a SharePoint 2013 App you can simply follow the instructions you find here: http://msdn.microsoft.com/en-us/library/jj163088.aspx.
Then why is this still worth a post? Simply because I think that it’s very easy to oversee this option and start digging in the wrong direction. In my cas…

Hosting a WCF Data Service in SharePoint (2013)

Hosting a WCF Data Service in SharePoint requires you to make a few important changes or else it will fail.
1. Change the servicehost Factory
If you created your WCF Data Service using VS2012 you will find that the servicehost Factory is set to

System.Data.Services.DataServiceHostFactory, Microsoft.Data.Services, Version=5.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35

However,…

Copyright ©2012. All Rights Reserved.