SP2010 Developer Tools


Published on

Provides on overview about SP 2010 development features

Published in: Technology
1 Comment
No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Now that pages are the topic of discussion, master pages and a little branding fits in too. SharePoint 2010 ships with a number of master pages. Important topics to discuss on this slide is how application pages can now also make use of branded master pages, and how there is a default.master that ships the (non-fluent) v3 UI for backwards compatibility.
  • This chronicles the process of using a custom "bugs" Web Part and solution in a particular site.The SPSite adminuploads a new solution package (*.wsp) into the Solution Gallery of the SPSite. The SPSite admin"activates" the solution.  This activates the features within the solution.  Web Part files are copied into the Web Part gallery.As part of the activation, solution is validated using the validation framework. Custom validator can be added for example to check that only solutions signed with certain key can be activated. Customers and partners can develop their own validators based on their needs.Some time later, a user decides to add a Web Part to their home page.  They go into Web Part edit mode, and click "Add a Web Part".  They notice the additional Web Part options, and click Add. SharePoint now checks to see if the bugs.dll file, which backs this Web Part, is installed into the assembly cache.  It is not. The assembly is faulted into the assembly cache; it is extracted and copied from the solution file to temporary folder in disk and loaded to memory (disk is cleaned immediately). Now the Web Part is about to be used. It is loaded into Sandbox Code service host.Processes deliver the Web Part to be executed to the service.
  • SP2010 Developer Tools

    1. 1. SP2010 Developer Tools<br />.NetWork SharePoint Techday<br />Mohamed Yehia<br />
    2. 2. About the Speaker<br />Technical Architect<br />MCP since 2001, MCAD, MCSD, MCTS<br />Egypt SharePoint User Group Lead<br />SharePoint4Arabs Co-Founder<br />A SharePoint Friend since 2004<br />
    3. 3. Outline<br />Technology Stack<br />Developer Productivity<br />Platform Improvements<br />List Improvements<br />Data Access Technologies<br />UI Improvements<br />Sandbox Solutions<br />
    4. 4. SharePoint Technology Stack<br />
    5. 5. Developer Platform<br />Workstation : Windows 7 or Vista SP1<br />64 bit OS only<br />Not supported on production<br />SharePoint Foundation or SharePoint Server<br />Single Server Install<br />
    6. 6. Developer Tools<br />Dev Life with SP 2007<br />VS is Limited<br />Edit CAML files<br />Understanding RootFiles directory of WSS<br />Manual edits to manifest.xml file<br />WSP packaging nightmare<br />
    7. 7. Developer Tools<br />Dev Life with SP 2010<br />End to End Development Story<br />Visual Studio 2010<br />SharePoint Designer 2010<br />Developer Dashboard<br />SharePoint SDK<br />
    8. 8. Visual Studio 2010<br />Instant Debugging<br />SharePoint Project<br />Project Items<br />Feature Designer<br />Workflow Designer<br />Server Explorer<br />Package Designer<br />Package Explorer<br />Import WSP<br />Import from SharePoint Designer 2010<br />Team Foundation Server Support<br />
    9. 9. SharePoint Designer 2010<br />No code tool for SharePoint<br />Free for creating and editing SharePoint artifacts<br />New Tools <br />BDC 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 imported in Visual Studio 2010<br />
    10. 10. Developer Dashboard<br />stsadm -o setproperty -pn developer-dashboard -pvondemand<br />Quick Debug or Monitor Page Performance<br />
    11. 11. demo<br /> SP Dev Life in 2010<br />
    12. 12. List Improvements<br />Large List Support (50M items)<br />Relationships with Cascade or Block<br />Validation Rules<br />Excel Like Formula<br />Fields and Items<br />List Query Throttling<br />XSLT Views<br />
    13. 13. XSLT Views for Lists<br />Replaces CAML for Views<br />Better Performance<br />Easier edit in SPD<br />Simpler Coding Experience<br />XSLT-based views are now default<br />SharePoint Lists<br />External Lists<br />
    14. 14. Events Improvements<br />New Events<br />ListAdding & ListAdded<br />ListDeleting & ListDeleted<br />Synchronous “after” events<br />More User Interface Control <br />Custom error pages<br />
    15. 15. Accessing Data<br />LINQ for SharePoint<br />Client Object Model<br />ECMA Script<br />Silverlight OM<br />.Net OM<br />REST APIs<br />
    16. 16. LINQ for SharePoint<br />Strong Types<br />LINQ Queries<br />Reference Assemblies<br />Microsoft.SharePoint.Linq<br />SPMetal code generation utility<br />Can modify list data<br />
    17. 17. demo<br />LINQ for SharePoint<br />
    18. 18. Client Object Model<br />Major request to increase web services<br />Client OM is<br />Simple API<br />an abstraction layer to return results as recognizable SharePoint objects<br />Consistent developer experience across platforms<br />.NET<br />ECMAScript<br />Silverlight<br />
    19. 19. demo<br />Client Object Model<br />
    20. 20. UI Enhancements<br />CSS<br />Split into multiple files, only download what’s necessary for the page<br />Javascript<br />Script On Demand allows delaying JavaScript download until it’s needed<br />Debug versions of files show clear JavaScript before optimizing<br />
    21. 21. Master Pages<br />Page must derive from Microsoft.SharePoint.WebControls.LayoutsPageBase<br />
    22. 22. Ribbon and Dialog Framework<br />Replaceable SharePoint OOB forms<br />Open as Web Page or as Dialog<br />Client Site Custom Actions in Ribbon<br />Context Sensitive Ribbon<br />
    23. 23. Ribbon and Dialog Framework<br />Dialog Framework<br />
    24. 24. demo<br />Dialog Framework<br />
    25. 25. Sandbox Solutions<br />SharePoint 2007<br />No proper hosting model defined<br />Hard to control what is being done in custom code<br />SP 2010<br />Allow a subset of ‘full’ solution features<br />Code executes in sandbox <br />Are deployed by a Site Collection administrator<br />Stored in the Solution Gallery<br />
    26. 26. Sandboxed Solutions Process<br />2<br />1<br />5<br />6<br />7<br />4<br />3<br />Per-WFE AssemblyCache<br />RootSPWeb of SPSite<br />&lt;siteguid&gt;company.intranet.webpart.wspcompany.intranet.dll<br />Solution gallery<br />Web Part gallery<br />Sandboxed Code Serice<br />WebParts.wsp<br />
    27. 27. Upgrade Your Code<br />SharePoint 2007 code that runs within IIS should work without recompilation<br />Anything<br />Recompile<br />Binding Redirect<br />Deprecated APIs<br />Compiler Warnings<br />No future investment<br />Path issues (14 hive)<br />
    28. 28. Keep Up with the Race<br />IIS 7.0<br />Javascript<br />jQuery<br />AJAX<br />XSLT<br />Powershell<br />LINQ<br />WCF<br />WF<br />Silverlight<br />
    29. 29. Learn More<br />MSDN (http://MSSharePointDeveloper.com)<br />TechNet (http://MSSharePointITPro.com)<br />Twitter Search #SP2010<br />
    30. 30. Thanks<br />http://www.sharepoint4arabs.com/mohamedyehia<br />@mohdyehia<br />myehia@live.com<br />
    31. 31. Coming Sessions<br />December 19th<br />Stay tuned to EgySUG site<br />