O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

SharePoint 2010 developer overview (in Visual Studio 2010)

3.935 visualizações

Publicada em

This is a SharePoint 2010 deck for Developers. It uses Visual Studio 2010 for developing SharePoint 2010 applications. If you are interested in learning about SharePoint development in VS2010, this is your deck!

Publicada em: Educação

SharePoint 2010 developer overview (in Visual Studio 2010)

  1. 1. Overview of the SharePoint 2010 Developer Platform<br />Mithun Dhar<br />Developer Evangelist<br />Microsoft Corporation<br />
  2. 2. Contact<br />Email: mithund@microsoft.com<br />Twitter: @mithund<br />http://blogs.msdn.com/mithund <br />
  3. 3. Huge Opportunity<br />
  4. 4. Learning a new<br />technology is hard<br />
  5. 5. Your Product<br />Microsoft Product<br />{your opportunities here}<br />Sites<br />Communities<br />Composites<br />Built on / Built with<br />Content<br />Insights<br />Base Platform<br />Search<br />Windows WorkflowFoundation<br />NET Framework 3.5<br />ASP.NET<br />Build on top of SharePoint<br />
  6. 6. Developer Productivity<br />SharePointDesigner 2010<br />Visual Studio 2010<br />ALM<br />Windows 7<br />Project Templates<br />WSP Packaging<br />Visual Designers<br />One Development Machine<br />For Developers Only<br />X64 OS Required<br />Source code control<br />Team Foundation Server (TFS)<br />Artifact Focus<br />New Workflow Designer<br />Export as WSP<br />Developer Tools · Developer Workstation · Team · Design Tools<br />
  7. 7.
  8. 8. Demo: Visual Web Part forASP.NET developers<br />
  9. 9. Development<br />
  10. 10. SharePoint 2010 for Developers<br />First Class SharePoint Developer Tools<br />Faster Solution Debugging & Tuning<br />Choice of Development Workstation<br />Developer Productivity<br />Comprehensive Data Access<br />Line of Business Integration <br />Workflow Advances<br />Rich Platform Services<br />Application Lifecycle Management <br />Standardized Solution Packaging<br />Deploy with Agility and Stability<br />Flexible Deployment<br />
  11. 11. Development on Windows 7or Windows Vista SP1<br />Either SharePoint Foundation or SharePoint Server<br />Requires x64 OS<br />Not Supported for Production<br />Only for Stand Alone Installation<br />Can be Disabled through Group Policy<br />Just for Developers<br />Requires Following Install Guide in SDK<br />Windows 7<br />
  12. 12. Visual Studio 2010Developer Tools for SharePoint<br />Develop, Deploy and Debug<br />Web Part, BCS and Workflow designers<br />Package and Deploy SharePoint projects<br />Generate WSP for Production Deployment<br />View SharePoint site in Server Explorer<br />Team Foundation Server Integration<br />Web Part Designer<br />Broad SharePoint Support<br />Support for SharePoint Sandboxed Solutions<br />Import WSP from SharePoint Designer including Workflow<br />Build Workflow Steps for SharePoint Designer<br />Extensibility for Development of Additional SharePoint Artifacts<br />SharePoint Business Connectivity Services support<br />Project Types<br />
  13. 13. SharePoint Designer 2010No code tool for SharePoint<br />Free for creating and editing SharePoint artifacts<br />New Tools <br />BCS Entities<br />List Schema<br />Custom Actions<br />Task / Approval Designer<br />Improved Tools <br />Workflow Designer<br />Page Editor<br />SharePoint Designer work can be upgraded to Visual Studio 2010<br />“Save site as template” in SharePoint Site Settings creates WSP<br />WSP imports into Visual Studio 2010 as new project<br />
  14. 14. Developer Dashboard<br />stsadm -o setproperty -pn developer-dashboard -pvondemand<br />Quick Debug or Monitor Page Performance<br />
  15. 15. F5<br />
  16. 16. SharePoint 2010 for Developers<br />First Class SharePoint Developer Tools<br />Faster Solution Debugging & Tuning<br />Choice of Development Workstation<br />Developer Productivity<br />Comprehensive Data Access<br />Line of Business Integration <br />Workflow Advances<br />Rich Platform Services<br />Application Lifecycle Management <br />Standardized Solution Packaging<br />Deploy with Agility and Stability<br />Flexible Deployment<br />
  17. 17. Connect people to data<br />Enable rich visualizations<br />Go where your users are<br />
  18. 18.
  19. 19. Demo: Connecting data and people with SharePoint<br />
  20. 20.
  21. 21. Business Connectivity ServicesBrings LOB Data Into SharePoint<br />SharePoint List with External Data<br />Read / Write<br />SharePoint Foundation<br />Built on the SharePoint 2007 Business Data Catalog<br />Office Apps<br />Client Runtime<br />Offline Operations<br />Cache<br />Design Tools<br />SharePoint<br />Visual Studio 2010<br />Enterprise<br />Search<br />Development<br />Platform<br />Business Intelligence<br />Enterprise content mgmt<br />Collaboration social<br />SharePoint Designer 2010<br />ECT Store<br />Runtime<br />Security<br />Solution Packaging<br />Out of the box UI<br />Web 2.0<br />DB<br />WCF<br />Web Service<br />.NET LOB<br />
  22. 22. Overview of Data Technologies<br />REST APIs<br />Strongly-typed lists<br />ClientOM<br />Weakly-typed lists<br />Client-side<br />Data Platform<br />Farm<br />Site<br />List Data<br />External Lists<br />ServerOM<br />Server-side<br />Weakly-typed lists<br />LINQ<br />Strongly-typed lists<br />New in 2010<br />Improved<br />
  23. 23. REST APIs<br />WCF Data Services<br />REST Protocols Atom, JSON feeds<br />SharePoint list data and Excel spreadsheets<br />Integration with growing set of Microsoft REST Technologies<br />
  24. 24. Client Object ModelRuns on Remote Machine<br />Simple API to Add, Retrieve, Updateand Manage Data in SharePoint<br />Commands batched for Performance<br />SharePoint Data<br />Consistent<br />Efficient<br />Client Application<br />.NET CLR<br />Silverlight CLR<br />JavaScript<br />
  25. 25. Client Object Model Sample .NET<br />ClientContext context =<br />newClientContext("http://server");<br />Web site = context.Web;<br />context.Load(site);<br />context.ExecuteQuery();<br />site.Title = site.Title + " and Client OM";<br />site.Update();<br />context.ExecuteQuery();<br />
  26. 26. LINQ to SharePointLanguage Integrated Query<br />Entity based programming<br />Strong Types and Intellisense<br />Supports List Joins and Projections<br />Join lists on lookup field between them<br />Join multiple lists (A->B->C)<br />Project any field from joined list in a query without changes in list schema<br />Example<br />fromoindata.Orderswhereo.Customer.City.Name == "London“selecto;<br />
  27. 27. Workflow ImprovementsPopular and Successful Base in 2007<br />Visual Studio 2010 Initiation and Association Forms<br />New Workflow Design Surface in SPD<br />Import SPD Workflows into Visual Studio<br />Build SPD Actions in Visual Studio <br />Visio 2010 Workflow Design<br />Browser Based Visualization<br />High Privilege Workflows<br />Control Where Service Runs<br />Site Workflows<br />Reusable Declarative Workflows<br />List Workflow Event Receivers<br />Pluggable Workflow Services<br />Performance and Scale<br />Fully Customizable OOB Workflow<br />Approval Designer<br />
  28. 28. Rich Visualizations <br />Silverlight & SharePoint<br />
  29. 29. Enabling Rich Visualizations<br />No Touch<br />LowTouch<br />High Touch<br />SharePoint<br />Artifact<br />SharePoint<br />Artifact<br /><html/><br />OM, Web 2.0,<br />Service, …<br />ConsistentExperience<br />
  30. 30. Demo: SharePoint and Silverlight<br />
  31. 31. Silverlight 3 and SharePoint 2010New UI Option<br />Media Player Web Part<br />Organization Browser<br />List and Site Creation<br />Office Web Applications<br />Silverlight Web Part<br />Simple way to upload<br />Silverlight CLR compatible <br />Client Object Model<br />Call SharePoint API’s<br />REST APIs<br />Simplifies List data access<br />Support for remotely hosted Silverlight applications<br />Delegated authentication/application principals<br />
  32. 32. Deployment<br />
  33. 33. SharePoint 2010 for Developers<br />First Class SharePoint Developer Tools<br />Faster Solution Debugging & Tuning<br />Choice of Development Workstation<br />Developer Productivity<br />Comprehensive Data Access<br />Line of Business Integration <br />Workflow Advances<br />Rich Platform Services<br />Application Lifecycle Management <br />Standardized Solution Packaging<br />Deploy with Agility and Stability<br />Flexible Deployment<br />
  34. 34. Sandboxed Solutions<br />Security & Stability<br />Security & Stability<br />BusinessAgility<br />BusinessAgility<br />Essential Agility<br />Essential Stability<br />Easy Deployment<br />Iterative Development<br />Access To Shared Servers<br />SharePoint Online<br />Safe for Other Users<br />Limited API Access<br />Monitored Resources<br />Separate Process<br />Site Collection Limits<br />
  35. 35. Team Foundation ServerApplication Lifecycle Management<br />Work Item Tracking<br />Source Code Control<br />Team Build<br />Manage Test Cases<br />Log Bugs<br />Automated Testing<br />Load Testing<br />
  36. 36. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.<br />The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.<br />
  37. 37. Appendix<br />
  38. 38. SharePoint List ImprovementsCollaborative Data Store<br />Relationships with Cascade or Block<br />Transacted Cascading Deletion<br />Restriction of Deletion<br />Validation with Excel Like Formula<br />Formula-based Validation<br />Ensure Uniqueness<br />Lookup to Multiple Columns<br />List Index Auto-Creation<br />Scalability and Performance<br />List Query Throttling<br />And we keep from SharePoint 2007<br />Self Service List Creation<br />Out of the Box List User Interface<br />Built in Authorization Forms<br />
  39. 39. XSLT Views for ListsView Design in UI and SPD<br />Replaces CAML for Views<br />CAML Still Used for Queries<br />Better Performance<br />Easier edit in SPD<br />Ribbon UX: sort/filter/group, conditional formatting,…<br />Simpler Coding Experience<br />Standard language, shared default XSLT<br />XSLT-based views are now default<br />SharePoint Lists<br />External Lists<br />
  40. 40. Ribbon and Dialog Framework<br />Client Site Custom Actions in Ribbon<br />Context Sensitive Ribbon<br />The Ribbon<br />Status Bar<br />Notification Area<br />
  41. 41. Ribbon and Dialog Framework<br />Replaceable SharePoint OOB forms<br />Open as Web Page or as Dialog<br />Dialog Framework<br />
  42. 42. Your Product<br />Microsoft Product<br />{your opportunities here}<br />Sites<br />Communities<br />Composites<br />Built on / Built with<br />Content<br />Insights<br />Base Platform<br />Search<br />Windows WorkflowFoundation<br />NET Framework 3.5<br />ASP.NET<br />Build on top of SharePoint<br />
  43. 43. Developer Productivity<br />SharePointDesigner 2010<br />Visual Studio 2010<br />ALM<br />Windows 7<br />Project Templates<br />WSP Packaging<br />Visual Designers<br />One Development Machine<br />For Developers Only<br />X64 OS Required<br />Source code control<br />Team Foundation Server (TFS)<br />Artifact Focus<br />New Workflow Designer<br />Export as WSP<br />Developer Tools · Developer Workstation · Team · Design Tools<br />
  44. 44. SharePoint Events ImprovementsReacting to Server Events<br />Events Project Templates in Visual Studio 2010<br />After-Synchronous Events<br />Simpler Event Behavior<br />Site-scoped events<br />Web creation events<br />List creation events<br />More User Interface Control<br />Custom Error Pages<br />
  45. 45. Enabling Rich Visualizations<br />No Touch<br />LowTouch<br />High Touch<br />SharePoint<br />Artifact<br />SharePoint<br />Artifact<br /><html/><br />OM, Web 2.0,<br />Service, …<br />ConsistentExperience<br />

×