SharePoint 2010 development with WCF

Preview:

Citation preview

SharePoint 2010 development with WCF services

Dinusha Kumarasiri

http://dinushaonline.blogspot.com

Sri Lanka SharePoint Forum

Agenda

WCF - What & WhyWCF Services in SharePointExtending SharePoint services frameworkDeveloping service applications

WCF – What & Why

What ?Framework to facilitate service-oriented applications

Why?Service orientationInteroperabilityMultiple message patternsSecurityMultiple transports & encodingsMultiple hosting scenariosAjax and REST support

demo

Simple WCF Service

Sri Lanka SharePoint Forum

WCF services in SharePoint

Out of the box services to perform tasksClients may not tightly coupled with SharePointRESTful and OData compliantWCF data services to get strongly typed entities

demo

Access data using SharePoint services

Sri Lanka SharePoint Forum

Extending SharePoint services framework

Host new service in SharePointService runs in SharePoint contextComplete support of SharePoint APIsSame authentication/authorization as in farm

demo

New service to SharePoint services framework

Sri Lanka SharePoint Forum

Extending SharePoint services framework

Asynchronous data accessAccess the service from client sideDon’t need client object model so loosely coupledMust have with heavy duty web parts

demo

Asynchronous data access

Sri Lanka SharePoint Forum

Developing service applications

Federated service to be used across the farmCan run on multiple app servers and load-balanced

demo

New service application

Sri Lanka SharePoint Forum

Q&A

Thank You !

Recommended