greg hurlman: developing custom service applications

13
Developing Custom Service Applications: When, Why, & How Greg Hurlman

Upload: sharepoint-saturday-ny

Post on 28-Nov-2014

700 views

Category:

Technology


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Greg Hurlman: Developing Custom Service Applications

Developing Custom Service Applications: When, Why, & How

Greg Hurlman

Page 2: Greg Hurlman: Developing Custom Service Applications

Who is this guy?

Programmer for 20 years.Net Developer for 9 yearsSharePoint Architect @ Avanade

Blog: http://blog.hurlman.comTwitter: @ghurlman

Page 3: Greg Hurlman: Developing Custom Service Applications

What is a Service Application?

Shared Service Providers are no moreLimited functionLimited scopeConfiguration hassles

Page 4: Greg Hurlman: Developing Custom Service Applications

What is a Service Application?

Service Applications are the answerFully extensibleTrue “cloud” servicesMore straightforward config

Page 5: Greg Hurlman: Developing Custom Service Applications

What is a Service Application?

Service Applications are the answerFully extensibleTrue “cloud” servicesMore straightforward config

Custom Service Apps get a lot for free

Page 6: Greg Hurlman: Developing Custom Service Applications

Why a SharePoint Service?

Custom Service Apps get a lot for freeSettings StoreLoad balancingEasy use of SharePoint backup/upgrade/restoreProvisioning infrastructureService DiscoveryAdministration UI

SharePoint interaction totally optional

Page 7: Greg Hurlman: Developing Custom Service Applications

When use a Custom Service?

YesSharing data across SharePoint boundariesLong-running processesEncapsulating unique business logicEasy scalability

NoSite/Site Collection specific functionalityData/Features specific to a site template

Page 8: Greg Hurlman: Developing Custom Service Applications

Service Apps – How do they work?

Made of many partsDatabase(s)Service itselfService ApplicationService EndpointService App Proxy

Consumed in many ways

Web partsEvent ListenersWorkflowsApplication PagesOther ServicesEtc.

SQ

L S

erv

er

Config DB

Content DB(s)

Custom DB

SP A

pp

S

erv

erService Assemblies

Service Endpoints (*.svc, *.asmx)

SP W

eb

Front

End

Service Application Proxy

Web Parts, Events, etc.

BrowserClient App

Page 9: Greg Hurlman: Developing Custom Service Applications

Anatomy of a Service App

SPServiceOne instance/server

SPServiceInstanceSPServiceApplication

Created by adminsProvides the internal service interface

SPServiceProxySPServiceApplicationProxy

Provides the front-end interfaceAllows for client code consumption

Page 10: Greg Hurlman: Developing Custom Service Applications

What you’ll need

Visual Studio 2010Including the SharePoint Tools

SharePoint Foundation ServerLots of time

Page 11: Greg Hurlman: Developing Custom Service Applications

Now, on with the code

Page 12: Greg Hurlman: Developing Custom Service Applications

Remember to fill out your evaluations for your chance to win

cool prizes3 Apple IPAD 32 GB Wifi2 ASUS Netbooks

Also Some Books1 Typemock Isolator LicenseA 2-5 Day Course from SetFocus on SharePointTelerik RAD Controls Set1 DeliverPoint WFE 2010 license (Worth $1500)1 BCS Meta Man license (Worth $1200)1 Lightning Conductor 2010 WFE license (Worth $800)1 Lightning Storm Forums license. (Worth $600)

Page 13: Greg Hurlman: Developing Custom Service Applications

Thank you sponsors!!