Using Visual Studio to Build SharePoint 2010 Solutions

Uploaded on

From SharePoint Saturday Los Angeles. April 2, 2011. …

From SharePoint Saturday Los Angeles. April 2, 2011.

At long last, Microsoft has built in, first-class support for developing SharePoint projects in Visual Studio 2010. This session will cover packaging your code into WSP solutions, managing your features, and debugging. We'll also look at some add-ins that will improve your productivity and demonstrates the extensibility that Visual Studio 2010 has. This session is geared for both seasoned 2007 developers and new ones.

More 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
  • THIS SHOULD BE YOUR SECOND TO LAST SLIDE – Encourage everyone to attend and remind them that the Daily Pint is just a few blocks up Pico from SMC (North East)
  • THIS SHOULD BE YOUR LAST SLIDE – Please ensure to leave this on as people are walking out and you’re wrapping things up. Thanks so much!


  • 1.
  • 2. Using Visual Studio 2010 to Build SharePoint 2010 Solutions
    Randy Williams
  • 3. About the Speaker
    US-West Coast Manager for Synergy Corporate Technologies
    Based in San Diego, California
    SharePoint MVP
    Specialty in Architecting Solutions
    Twitter: @tweetraw
  • 4. Agenda
    SharePoint Developer Platform
    Visual Studio Templates
    Solutions and Features
    Debugging and Add-ins
  • 5. Agenda
    SharePoint Developer Platform
    Visual Studio Templates
    Solutions and Features
    Debugging and Add-ins
  • 6. SharePoint Platform and Product
    Your Product
    Microsoft Product
    {your solution here}
    Platform Infrastructure
    Base Platform
    .NET Framework
    ASP.NET, WCF, Workflow
  • 7. Development Requirements
    Requires x64 operating system
    Windows 7
    Windows Vista SP1
    Windows Server 2008
    Windows Server 2008R2
    SharePoint 2010 must be installed locally
    Foundation or Server
    Visual Studio 2010
  • 8. Agenda
    SharePoint Developer Platform
    Visual Studio Templates
    Solutions and Features
    Debugging and Add-ins
  • 9. VS Templates and Designers
    Project and Item Templates
    Templates for many SharePoint elements
    Support for sandboxed solutions
    Visual Designers
    Design web parts
    Build Business Data Connectivity (BDC) models
    Create Workflows
    Workflow Enhancements
    Site level workflows
    Templates for association & initiation forms
  • 10. Project Templates
  • 11. Project Wizard
    Site used to deploy & debug solution
    Support for sandboxed solutions
  • 12. Item Templates
  • 13. CKSDev
    Community Kit for SharePoint Development
    Extends Visual Studio Project System
    Just a sample of the add-ins…
    Automate call to SPMetal from Server Explorer
    Adding SharePoint references
    Quick Deploy
    WSPBuilder Project Conversion
    Download from
    Screen casts at
  • 14. Visual Studio SharePoint Power Tools
    Additional add-ins
    Provided by Microsoft
    Sandboxed-compatible Visual Web Part
    Sandboxed compilation – displays build errors for disallowed code
    Download from
  • 15. Sandboxed Solutions
    Business Agility
    Security and Stability
    Essential Agility
    Essential Stability
    Simpler development model
    Easy & Rapid Deployment
    Office 365 (Cloud)
    Limited API Access
    Monitored Resources
    Site Collection Quotas
    Separate Process
  • 16. Creating a Sandboxed visual web part
  • 17. Agenda
    SharePoint Developer Platform
    Visual Studio Templates
    Solutions and Features
    Debugging and Add-ins
  • 18. VS SharePoint Projects
    Project commands
    Package, Retract
    Project properties
    Sandboxed, Site URL
    Features & Package nodes
    Mapped folders
    Project items & files have SharePoint specific properties
  • 19. Feature Designer
    Feature Scope
    Feature Title
    Add/Remove items
    View/Edit Feature Manifest
  • 20. What are Solution (WSP) Packages?
    Used to Deploy Code
    Contains all customized files and deployment instructions
    WSP extension
    Internally a cabinet file
    Created by Visual Studio
    Farm or Sandboxed
  • 21. Package Designer
    Package name
    Add/Remove items & features
    Add assemblies, safe controls, resources
    View/Edit Package Manifest
  • 22. Working with Features and Solutions
  • 23. Agenda
    SharePoint Developer Platform
    Visual Studio Templates
    Solutions and Features
    Debugging and Add-ins
  • 24. Visual Studio Debugging
    F5 Experience
    Web.config changes
    Can still attach to W3WP.exe process
    Developer Dashboard
    stsadm-o setproperty -pn developer-dashboard -pvondemand
  • 25. Server Explorer and SharePoint
    Tool window which provides view of local SharePoint sites & artifacts
    View site collections, sites, features, lists, fields, etc…
    View properties for artifacts
    Add any number of connections to different sites
    Read only
  • 26. SharePoint Manager
    Extends the concept of the Server Explorer
    Many properties can be changed
    Separate Windows Application
    Must be run on SharePoint Server
    Do not run against production server!
    Download from
  • 27. DEMO
    Debugging and Add-ins
  • 28. Don’t Forget
    Join us at 6:30 pm at TheDaily Pint for a free drink, kindly provided by Rackspace! A great opportunity to network with other SharePoint Professionals!
    Please complete your Speaker Evaluation and turn it in before you leave. Drop off at the Community table or at the Cafeteria before closing.
  • 29. Thank you
  • 30. Thanks to
    Our Sponsors