Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Sharepoint as a service platform


Published on

Share point as service platform , SAF , PSAS

Published in: Technology, Business
  • Be the first to comment

Sharepoint as a service platform

  1. 1. Kashif Akram <br />Microsoft Community Speaker <br />Dev30<br />SharePoint as a service platform <br />
  2. 2.
  3. 3. Microsoft SharePoint 2010TheBusiness Collaboration Platform for the Enterprise and the Internet<br />Sites<br />Deliver the Best Productivity Experience<br />Communities<br />Composites<br />Cut Costs with a Unified Infrastructure<br />Content<br />Insights<br />Rapidly Respond to Business Needs<br />Search<br />
  4. 4. New dimensions of SharePoint <br />
  5. 5. What is a service platform <br />It provide facilities for application design, application development, testing, deployment and hosting as well as application services such as team collaboration, web service integration and marshaling, database integration, security, scalability, storage, persistence, state management, application versioning, application instrumentation<br />
  6. 6. Approach <br />
  7. 7. What we normally forget during traditional Approach <br />Governance<br />End user empowerment <br />Security <br />Hosting <br />Consumption <br />System Integrity across enterprise <br />
  8. 8. Services Platform Provides <br />SP can a number of benefits to an organization including software reuse, better alignment with business processes and lower cost and  agile development cycles. However, achieving these benefits requires building on top of a platform that provides a number of capabilities including:<br />1) Governance and Registry<br />2) Extension <br />3) Administration / Control <br />4) Security <br />5) Tooling <br />
  9. 9. SharePoint 2007 (MOSS)<br />ASP.NET 2.0 (AJAX)<br />SQL Server<br />NET Framework 3.0<br />IIS<br />Windows 2003<br />
  10. 10. So, What was “bad“ about SSP’s ?<br />
  11. 11. Architecture <br />Define the WCF endpoint<br />Implement  the business logic and package<br />(Maybe webservices, or windows services )<br />Implement SAF <br />Create or reuse persistence store <br />
  12. 12. Architectural View<br />Service: <br />Actual program (binaries)<br />deployed to servers in farm<br />Service Machine Instance: <br />Actual instance of the running <br />service binaries on a server<br />Service Application:<br />Configuration of the service<br />in a farm<br />Service Application<br />Service Application Proxy:<br />Reference to the Service Application<br />Service Proxy<br />Service Proxy<br />Service Consumer:<br />Bits that utilize the service’s logic<br />*.SVC’s, PowerShell Cmdlets<br />(Service Consumer)<br />Web Part, Pages<br />(Service Consumer)<br />
  13. 13. Service Applications (SP2010)<br />
  14. 14. Service Application formwork <br />SAF is designed around an abstract model of service providers and consumers. This abstract model provides the hooks that SharePoint uses to provide a unified management experience for a large variety of services<br />Services that implement this model may be integrated with SharePoint features such as the Farm Configuration Wizard, the “Services on Server” and “Service Applications” management UX, and SharePoint backup/restore, to name a few.<br />A middle-tier service is not part of a SharePoint web application or site, and is not directly accessed by end users. It is typically accessed from a Web Front End server (WFE) on behalf of an end-user request<br />for example, the “Search Box” web part executing on a WFE invokes a middle-tier “Search Query” service application to retrieve raw search results, which are then rendered to HTML by the web part<br />
  15. 15. Service Applications<br />Farm 3<br />Farm 2<br />Farm 1<br />Search<br />User Profiles<br />Search<br />Excel<br />User<br />Profiles<br />ManagedMetadata<br />http://intranet<br /><br />
  16. 16. Services Application Object Model <br />5 configuration object types: <br />SPService, SPServiceInstance, SPServiceApplication, SPServiceProxy, <br />and SPServiceApplicationProxy.<br />
  17. 17. SPService (Service)<br />The SPService class represents a service that has been registered in a SharePoint server farm.<br />
  18. 18. SPServiceInstance (Service Instance)<br />The SPServiceInstance class represents a service (SPService) that has been installed (but not necessarily started) on a specific application server (SPServer) in a SharePoint server farm. An SPServiceInstance has a Status property that indicates whether or not the service instance has been started.<br />
  19. 19. SPServiceApplication (Service Application)<br />The SPServiceApplication class represents a logical service endpoint (to which a service consumer connects).<br />This endpoint may actually consist of many physical endpoints; that is, the service application may be hosted on many application servers for additional reliability and scalability. These physical endpoints are represented by online (started) SPServiceInstance objects.<br />
  20. 20. SPServiceProxy (Service Proxy)<br />The SPServiceProxy class represents a service consumer (client) that has been registered in a SharePoint server farm.<br />A custom SPServiceProxy may be installed by a SharePoint solution or a custom MSI, and registered when a server farm administrator activates a SharePoint farm-scoped feature or executes a PowerShell script.<br />
  21. 21. SPServiceApplicationProxy (Service Application Proxy)<br />The SPServiceApplicationProxy class represents a logical connection to a service application.<br />
  22. 22. Service Platform Features<br />
  23. 23. Services<br />
  24. 24. To Build a Service Application<br />
  25. 25. Create A services <br />DEMO<br />Download code <br /><br />
  26. 26.
  27. 27.
  28. 28.
  29. 29.
  30. 30.
  31. 31. Create A service Application <br />Demo<br />
  32. 32.
  33. 33.
  34. 34. Create A service Application UI<br />Demo<br />
  35. 35.
  36. 36.
  37. 37. Create Client Proxy <br />Demo<br />
  38. 38.
  39. 39. Thank you <br />