SharePoint 2010: What's New For Developers

1,676 views

Published on

This session provides an overview of new and improved aspects of SharePoint that are important for developers. We’ll look at the available tools, packaging and deployment of solutions using Visual Studio 2010, concept of sandbox solutions, client object model, LINQ support and upgrading existing code.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,676
On SlideShare
0
From Embeds
0
Number of Embeds
32
Actions
Shares
0
Downloads
33
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Limitations (visual studio hides some intellisense)Workarounds (change reference of dll)Management/MonitoringPerformance Counters built for user code host service
  • Limitations (visual studio hides some intellisense)Workarounds (change reference of dll)Management/MonitoringPerformance Counters built for user code host service
  • Web Part in a sandbox solution executes 40 SQL queries (via the SharePoint OM)20 SQL Queries = 1 point (default)
  • Demo app that runs on my computer Silverlight, .Net and ECMASp.js – compressed
  • SharePoint 2010: What's New For Developers

    1. 1. SHAREPOINT 2010 - What’s new for developers<br />Ambreen Shahid<br />ambreen.shahid@imason.com<br />
    2. 2. Session Abstract<br />This session provides an overview of new and improved aspects of SharePoint that are important for developers. <br />We’ll look at the available tools, packaging and deployment of solutions using Visual Studio 2010, concept of sandbox solutions, client object model, LINQ support and upgrading existing code.<br />
    3. 3. Agenda<br />Development Environment<br />Tools available for Developers<br />Solution structure and packaging<br />Concept of Sandbox solutions<br />Client Object Model<br />Upgrading existing code<br />Q & A<br />
    4. 4. Supported Operating Systems<br />64-bit versions of Windows Server 2008 SP2 and Windows Server 2008 R2<br />64-bit versions of Windows Vista SP2  and Windows 7 – not supported for production use<br />
    5. 5. Tools<br />Central Administration (similar to MOSS)<br />STSadm Utility (similar to MOSS)<br />Visual Studio 2010<br />SharePoint Designer 2010<br />Visio – Workflow Template<br />PowerShell (492 cmdlets!)<br />
    6. 6.
    7. 7.
    8. 8.
    9. 9. Visual Studio 2010<br />New templates for SharePoint Projects<br />Development against a development environment<br />Packages, deploys, retracts solutions<br />Mapped Folders<br />Recycles relevant worker process<br />SharePoint Explorer (read-only view)<br />
    10. 10. Sandbox Solutions<br />
    11. 11. Sandbox Solutions<br />Allows developers to use a subset of full API<br />Secure – enforcing the sandbox limitations<br />Execute in a partially trusted environment<br />Code executes in a special service process<br />Subject to CAS<br />Validation framework<br />Provides way to do custom farm wide validation for the deployed packages<br />Solution isolated to their own site collections<br />
    12. 12. Resource Throttling<br /><ul><li>Resource points aren’t calculated immediately… they are a bit delayed
    13. 13. A sandbox solution will never shut off in mid-process...
    14. 14. The resource counters recycled nightly by a timer job (default = midnight of the server the timer job runs on)</li></li></ul><li>Client Object Model<br />Overlaps with SharePoint Foundation API<br />Site Collections and Sites<br />Lists, List Items, Views, and List Schemas<br />Files and Folders<br />Web, List, and List Item Property Bags<br />Web Parts<br />Security<br />Content Types<br />Site Templates and Site Collection Operations<br />
    15. 15. LINQ<br />SPMetal to convert Site Lists and Libraries into equivalent classes.<br />These classes can be used to perform LINQ queries on lists and libraries<br />
    16. 16. Upgrading existing code<br />VSeWSS based projects:<br />Open in Vstudio and import (tool available for that)<br />Other apps that use API:<br />Change references and recompile<br />Code that uses Shared Services Provider<br />SSP related code is deprecated. Needs to be changed<br />List templates can be updated<br />STPs needs to be recreated<br />
    17. 17. Available Resources<br />SharePoint 2010 Deprecated Types & Methods<br />What’s new in SharePoint Foundation 2010<br />What’s new in SharePoint Server 2010<br />SharePoint 2010 SDK (MSF2010 & SPS2010)<br />
    18. 18. Available Resources<br />SharePoint 2010 Developer Eval Guide Walkthrough<br />SharePoint Developer Training Kit<br />VHDs<br />Windows Powershell compiled help for SharePoint 2010<br />http://sharepointdevtools.codeplex.com/<br />
    19. 19. Please complete your evaluations to enter in the prize drawing!<br />

    ×