What purpose is it to use Windows Communication Foundation in relation to SharePoint 2013? It would be great with concrete and practical example.


WCF can be used in two different ways in SharePoint. Either you want to expose content externally through a WCF Web Service, or you want to access content living in an external system. Using WCF in these cases makes your service very reliable and secure, assuming you're implementing Guidelines and Best Practice.

Also I suggest you read through the great article How to: Create an OData data service that sends notifications to BCS in SharePoint 2013 which guides you all the way to a successful implementation of WCF in SharePoint:

This article describes how to create an ASP.NET Windows Communication Foundation (WCF) Data Service to expose the AdventureWorks 2008 R2 LT sample database. This enables you to access the data through the Open Data protocol (OData). When access is established through OData, you can configure a Business Connectivity Services (BCS) external content type that will enable SharePoint 2013 to consume the data from the external database. To further enhance this OData source, you can add service contracts to the WCF service that will enable BCS to subscribe to notifications that indicate that the external data has changed.

Practically you can also implement an integration with a CRM-system to both read and write the CRM in SharePoint. Extremely useful if you're a user which doesn't use the system a lot, but on occation need to update records in the CRM. Thst way you only need to know one system instead of two, which is a huge benifit in terms of User Experience.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.