Custom Applications - What, When, and Why

18
Hello!

description

 

Transcript of Custom Applications - What, When, and Why

Page 1: Custom Applications - What, When, and Why

Hello!

Page 2: Custom Applications - What, When, and Why

Welcome to SharePoint Saturday—The Conference Welcome to SharePoint Saturday—The Conference

• Please turn off all electronic devices or set them to vibrate.• If you must take a phone call, please do so in the hall so as not

to disturb others.• Open wireless access is available at SSID: SPSTC2011• Feel free to “tweet and blog” during the session• Thanks to our Diamond and Platinum Sponsors:

Thank you for being a part of the first SharePoint Saturday conference

Page 3: Custom Applications - What, When, and Why

Developing Custom Service Applications: When, Why, & How

Page 4: Custom Applications - What, When, and Why

Who are you?

Page 5: Custom Applications - What, When, and Why

Greg Hurlman:Consultant @ LiquidHubSharePoint ArchitectDeveloperFatherHokieGamerWorld Famous Jungle Cruise Skipper (ret.)

Page 6: Custom Applications - What, When, and Why

What is a Service Application?

• Shared Service Providers are no more– Limited function– Limited scope– Configuration hassles

Page 7: Custom Applications - What, When, and Why

What is a Service Application?

• Service Applications are the answer– Fully extensible– True “cloud” services–More straightforward config

Page 8: Custom Applications - What, When, and Why

What is a Service Application?

• Service Applications are the answer– Fully extensible– True “cloud” services–More straightforward config

• Custom Service Apps get a lot for free

Page 9: Custom Applications - What, When, and Why

Why a SharePoint Service?• Custom Service Apps get a lot for free– Settings Store– Load balancing– Easy use of SharePoint backup/upgrade/restore– Provisioning infrastructure– Service Discovery– Administration UI

• SharePoint interaction totally optional (but silly not to)

Page 10: Custom Applications - What, When, and Why

When use a Custom Service?

• Yes– Sharing data across SharePoint boundaries– Long-running processes– Encapsulating unique business logic– Easy scalability

• No– Site/Site Collection specific functionality– Data/Features specific to a site template

Page 11: Custom Applications - What, When, and Why

Service Apps – How do they work?

• Made of many parts– Database(s)– Service itself– Service Application– Service Endpoint– Service App Proxy

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

• Consumed in many ways– Web parts– Event Listeners– Workflows– Application Pages– Other Services– Etc.

Page 12: Custom Applications - What, When, and Why

Anatomy of a Service App• SPIisWebService

– Really a definition

• SPIisWebServiceInstance– One instance/server

• SPIisWebServiceApplication– Provides the internal service interface– May own user data

• SPIisWebServiceProxy– Again, really a definition

• SPIisWebServiceApplicationProxy– Provides the front-end interface– Allows for client code consumption

ClassFactories

Page 13: Custom Applications - What, When, and Why

What you’ll need• Visual Studio 2010– Including the SharePoint Tools

• SharePoint Foundation Server• Time

Page 14: Custom Applications - What, When, and Why

Demo!

Page 15: Custom Applications - What, When, and Why

Questions?

Page 16: Custom Applications - What, When, and Why

Photo Credits• http://www.flickr.com/photos/photojonny/2268845904/• http://www.flickr.com/photos/magdalar/2950663799• http://www.flickr.com/photos/damaradeaella/2822846819/

Page 17: Custom Applications - What, When, and Why

Welcome to SharePoint Saturday—The Conference

Thanks to Our Other Sponsors!Thanks to our Sponsors

Page 18: Custom Applications - What, When, and Why

Thanks for coming!

• Don’t forget your evaluations

• Find me at:

http://about.me/greghurlman