SharePoint service application

Preview:

DESCRIPTION

SharePoint service application

Citation preview

SharePoint Service Application Chung V Tran

Objective

• Understand Service Application • Why we should use SA instead of SSP

• Understand SA architecture

• Able to build your custom SA

2

SharePoint Service Application

• Share Service Provider vs. Service

Application

• Service Application Framework

• Service Application Development

3

Share Service Provider vs. Service

Application

• Share Service Provider (SSP)

– What is SSP?

– Cons of SSP

• Service Application (SA)

– What is SA?

– Compare SSP and SA

4

Share Service Provider

• What is SSP?

5

Share Service Provider

• Cons of SSP

– Issue with flexible deployment and granular

delegation of control

• SSP architecture is configured by using a set of

services: and all web applications associated with

the SSP bore the overhead of all the services even

if they weren't being used.

• To change the service configuration for a

particular Web application, a new SSP would

have to be created.

6

Share Service Provider

• Cons of SSP

– Web application tied to specific SSPs

– Unable to build a custom SSP

– Cannot not share between Farms

7

Service Application

• What is SA?

– SA has the same purpose with SSP. It's built

to replace SSP

– Services are split out into separate

management units

8

Service Application

• What is SA?

9

Service Application

• Pros of SA (compare to SSP)

– Truly flexible deployment and granular

delegation of control

• True service isolation and each service application

can now be autonomous in terms of it’s external

resources such as configuration and data stores

• The same service application can be configured

differently

10

Service Application

• Pros of SA (compare to SSP)

– Very easy to add or remove server

– Able to publish service across farms

– Load balancing

– Allow adding third-party service

11

SA vs. SSP

12

Service Application

• Demo

Confidential 13

SharePoint Service Application

• Share Service Provider vs. Service

Application

• Service Application Framework

• Service Application Development

14

Service Application Framework

• Architect and OM

• Common Topologies

15

16

Architectural View Service:

Represents a program/service that is available or installed in a server farm

Service Application

Service Proxy Service Proxy

(Service Consumer) (Service Consumer)

Service Machine Instance:

Represents an instance of a service on a server in the farm

Service Application:

Contains the application-specific data and settings

Service Application Proxy: Represents a connection to a service

application

Service Consumer

Object Model

17

Object Model View

Infrastructure

18

Service Application Framework

• Architect and OM

• Common Topologies

19

Common Topologies

• Single Application Server

– Failed application server will result in service

downtime

20

Common Topologies

• Multiple Application Servers

21

Common Topologies

• Multiple Web Applications

22

Common Topologies

• Multiple Service Applications

23

Common Topologies

• Federated Service Application

24

SharePoint Service Application

• Share Service Provider vs. Service

Application

• Service Application Framework

• Service Application Development

25

Service Application Development

• Source code and demo

26

Service Application Development

• Source code and demo

27

Service Application Development

• Best practice

– Do:

• Provide specialized computations & analytics

• Share data across sites & site collections

• Execute long running operations

• Requires a robust scale out strategy

28

Service Application Development

• Best practice

– Don’t:

• Features specific to a particular site or site

collection

29

SharePoint Service Application

Q&A

30

SharePoint Service Application

• References • http://www.harbar.net/articles/sp2010sa.aspx

• http://msmvps.com/blogs/shane/archive/2007/06/29/what-is-a-shared-service-

provider.aspx

• http://www.andrewconnell.com/blog/archive/2009/10/19/the-new-service-application-

architecture-in-sharepoint-server-2010.aspx

• http://msdn.microsoft.com/en-us/library/ee537799.aspx

• http://www.slideshare.net/andynogueira/service-applications-in-sharepoint-2010

• http://msdn.microsoft.com/en-us/library/gg193964.aspx

Confidential 31

SharePoint Service Application

chungvtran@kms-technology.com

Please send email to me for the source code

Confidential 32

Recommended