Your SlideShare is downloading. ×
  • Like
SharePoint 2010 for NET Developers
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.


Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

SharePoint 2010 for NET Developers


slides from my talks in August 2010

slides from my talks in August 2010

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads


Total Views
On SlideShare
From Embeds
Number of Embeds



Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide


  • 1. SharePoint Developmentwith Microsoft Visual Studio 2010
    Lynn Langit
    Microsoft Developer Evangelist
  • 2. What & Why SharePoint 2010?
    • .Net / ASP.Net & VS 2010 integration
    • 3. Huge Install Base
    • 4. Built-in features
    • 5. Multiple Editions, including FREE edition
  • 6. Developer Tools
    SharePointDesigner 2010
    Visual Studio 2010
    Windows 7
    Project Templates
    WSP Packaging
    Visual Designers
    One Development Machine
    For Developers Only
    X64 OS Required
    Source code control
    Team Foundation Server (TFS)
    Artifact Focus
    New Workflow Designer
    Export as WSP
    New – Visual Studio – Light Switch (lightweight development) - CTP
    Developer Tools · Developer Workstation · Team · Design Tools
  • 7. SPS 2010 Developer Enhancements
    VS 2010 Enhancements
    Templates , Visualizers and more
    New (client) object model
    LINQ for SharePoint
    Native support for Silverlight
    Sandboxed Solutions
    Support for claims-based security
    Native support for PowerShell
    External data lists
    Designed to work with BCS
    In all editions of SharePoint
  • 8. SharePoint Designer – Why?
  • 9. SPS and PowerShell
    An alternative to stsadm.exe
  • 10. SharePoint Admin Site
  • 11. BEFORE Developing on VS 2010
    Understand what you can do via other methods FIRST:
    • From within a SharePoint site
    • 12. From within the SharePoint Administrative site
    • 13. From within SharePoint designer
    • 14. From Powershell (scripts)
    • 15. From CodePlex
    • 16. From public templates
  • Visual Studio 2010Developer Tools for SharePoint
    **Must run VS2010 ‘as admin’
  • 17. Leverage .NET and ASP.NET skills
    You are using the same tools
    Same designers, controls, etc.
    Event handling model
    Save “F5” deploy/debug experience
    Familiar programming model
    Built on ASP.NET
    Built on Windows Workflow Foundation
    Styling is the same
    Use JavaScript and Silverlight
  • 18. SPS Projects in VS 2010
    SPS Templates - Now
    SPS Templates - Then
  • 19. Deployment: Project Creation
  • 20. VS 2010 SPS Empty Project
  • 21. SharePoint Terminology Review
    - Farm (SPFarm)
    - Web Application (SPWebApplication)
    - Site Collection (SPSite)
    - Site (SPWeb)
    - List (SPList)
    - Item (SPListItem)
    - Document Library (SPDocumentLibrary)
    - File(SPFile)
    - Folder(SPFolder)
  • 22. VS 2010 SPS Server Explorer
  • 23. Visual Web Part
    New for SharePoint 2010
    Uses ASP.NET User Controls (ASCX)
    Can combine ASP.NET and SharePoint controls
    Integrated designer support in Visual Studio
    Develop, deploy, debug using new SharePoint project system
  • 24. Demo 1: Visual Web Part
  • 25. Visual Web Part
  • 26. Web Part
  • 27. Packages
  • 28. Properties: SharePoint Tab
  • 29. Deployment
    You can now DEBUG as well
  • 30. SharePoint Item Templates
  • 31. Business Connectivity Services
  • 32. Business Connectivity Services
    Visual designers in VS 2010
    BCS Explorer
    BDC method details
    Tool to generate classes
    SPMetal - here
  • 33. Workflow for SPS
    SharePoint 2010 offers new development process
    Envision workflows in Visio
    Import into SharePoint Designer
    Export to Visual Studio 2010
    Add code
  • 34. Creating Workflows in Visio
    Visio has SharePoint Workflow template
    Allows you to create workflow design in Visio
    Workflow can be exported to SharePoint Designer
  • 35. SharePoint Designer Workflows
    Workflows target a Site or a List
  • 36. Workflows in Visual Studio 2010
    Site Workflows
    List / Item properties are null
    No auto-start
    ASP.NET Form Templates
    New events
    External Data Exchange
    public class MyWorkflowEventReceiver
    : SPWorkflowEventReceiver
    public override void WorkflowStarting(
    SPWorkflowEventProperties properties)
    // your code here
  • 37. SharePoint 2010 & Silverlight
    New client API build especially for Silverlight
    New Silverlight Web Part to ease deployment and use of Silverlight Applications
    Silverlight supports multi-touch applications
  • 38. Enabling Rich Visualizations
    No Touch
    High Touch
    OM, Web 2.0,
    Service, …
  • 39. Demo 2: SharePoint and Silverlight
  • 40. Leverage your skillset
    Connect people to data
    Enable rich visualizations
    Go where your users are
  • 41. Resources
    Learn SharePoint 2010 on Channel 9
    SharePoint 2010 Developer Center