This is the Social Computing with SharePoint and Silverlight slide for the session I've presented at the Toronto SharePoint Code Camp 2009
http://www.torontosharepointcamp.com/Lists/Speakers/AllSpeakers.aspx
4. Social Components in MOSS
Shared
Features My Sites
Services
Colleagues
People Search
Tracker
Social Organizational
User Profiles
Distance Hierarchy
In Common
Presence
Between Us
6. Users
User User
Accounts Profiles
Security Shared Services Provider
Access rights Organize and aggregate
users data
(items / documents / sites)
SPUser UserProfile
(API) (API)
7. User Profiles
Properties Relationships
Name / Value Pairs Colleagues
Extensible Workgroup Object Model
(API)
Searchable Memberships
SharePoint
Web Services
Privacy Manager
8. User Profile API
Reference
• Microsoft.Sharepoint.dll
• Microsoft.Office.Server.dll
Namespaces
• Microsoft.SharePoint
• Microsoft.Office.Server
• Microsoft.Office.Server.UserProfiles
Classes
• UserProfileManager
• UserProfile
Web Services
• http://<server>/_vti_bin/UserProfileService.asmx
9. Retrieving a User Profile
Retrieve the Server Context of the site collection
ServerContext svrContext = ServerContext.GetContext(siteCollection);
Connect to the User Profile Manager
UserProfileManager profileMgr = new UserProfileManager(svrContext);
Retrieve the User Profile
UserProfile usrProfile = profileMgr.GetUserProfile(loginName);
10. Pre-requisites for demos
Silverlight 2 Plug-in
MOSS 2007
Visual Studio 2008 SP1
Silverlight Tools for Visual Studio
Expression Blend 2 SP1
Optional
19. Change Log
Tracks profile Change
Colleagues Time Based
changes Types
Ability to specify a
See what your
timeframe
Properties Adding colleagues are
(minutes, days) to
doing
get changes
Memberships Updating
Quick Links Deleting
21. SharePoint and Silverlight Integration
Web Part Page
Silverlight Web Part (e.g. SilverPart) Silverlight Web
Part
Silverlight Application 1 (App1.xap)
Silverlight
Application 3
Silverlight Web Part
(App3.xap)
Silverlight Application 2 (App2.xap)
22. Client Centric Processing Model
Client Server
Browser Web Server
Processing
XAP
Silverlight
HTML
ASP.NET
Web Services
CSS JSON
Networking
Animation
CLR / DLR
Controls
Audio &
Video
SOAP
JavaScript
REST
24. “Gotchas” and Limitations
Don’t use Microsoft.SharePoint.Portal.UserProfiles (obsolete)
Make sure all steps to enable Silverlight in SharePoint are checked
Pay attention to security issues and test, test and test.
Sometimes “tricky” integration with existing SP Web Services
Lack of documentation
26. Links and Resources
Microsoft Social Computing and Collaboration
• http://www.microsoft.com/sharepoint/capabilities/collaboration/overview.mspx
Silverlight
• http://www.silverlight.net
SilverPart (Silverlight Web Part)
• http://www.codeplex.com/SilverPart
BlackLight Controls for Silverlight
• http://www.codeplex.com/blacklight