• Save
Getting Started with SharePoint Development
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Getting Started with SharePoint Development

  • 3,402 views
Uploaded on

Getting Started with SharePoint Development

Getting Started with SharePoint Development

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • A comprehensive SlideShare, great job.
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
3,402
On Slideshare
3,047
From Embeds
355
Number of Embeds
2

Actions

Shares
Downloads
1
Comments
1
Likes
1

Embeds 355

http://www.chakkaradeep.com 351
http://www.slideshare.net 4

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Getting Started WithSharePoint Development
    Chakkaradeep Chandran
    http://www.chakkaradeep.com
    @chakkaradeep
  • 2. Microsoft SharePoint
    Provides an extensible solution platform for the professional Microsoft .NET developer
    Offers a wide array of built-in features and application hosting using well-known .NET development tools and technologies
    You, the professional .NET developer, can use your knowledge of .NET technologies to develop on the SharePoint platform to create a new set of Web solutions 
  • 3. Get the Names Right!
    Windows SharePoint Services 3.0 (FREE)
    Microsoft Office SharePoint Server 2007
    (MOSS)
    SharePoint Foundation 2010 (FREE)
    SharePoint Server 2010
  • 4. Benefits to .NET Developers
    A familiar development environment for .NET developers
    Built-in features that developers can extend
    The best integrated server for Office applications
    The foundation for a wide variety of Intranet or Internet applications
  • 5. SharePoint for Developers
    First Class SharePoint Developer Tools
    Faster Solution Debugging & Tuning
    Choice of Development Workstation
    Developer Productivity
    Comprehensive Data Access
    Line of Business Integration
    Workflow Advances
    Rich Platform Services
    Application Lifecycle Management
    Standardized Solution Packaging
    Deploy with Agility and Stability
    Flexible Deployment
  • 6. SharePoint Stack
  • 7. SharePoint Application Landscape
    Business Collaboration Applications
    SharePoint Core
    Portal for LOB Application Data
    Single Web Part
    Solutions
    .NET | ASP.NET
    Customized SharePoint Server 2010 Workloads
  • 8. Development Environment
    On the metal
    Vista or Windows 7 (SP2010)
    Windows Server 2008 R2
    Virtualization
    Windows Server 2008 R2 Hyper-V role
    Boot to VHD
    Windows 7 boot to VHD
    Windows Server 2008 R2 boot to VHD
  • 9. Development on Windows 7or Windows Vista SP1 (SP2010)
    Just for Developers
    Requires Following Install Guide in SDK
    Either SharePoint Foundation or SharePoint Server
    Requires x64 OS
    Not Supported for Production
    Only for Stand Alone Installation
    Can be Disabled through Group Policy
  • 10. Development Tools
    http://bit.ly/sp-dev-tools
  • 11. SharePoint Terminologies
    http://bit.ly/sp-terminology
    SharePoint Farm
    SharePoint Site Collection & Sites
    Site Columns
    Content Types
    Data Lists (Document Libraries)
    Master Pages
    Application Pages
    Themes
  • 12. SharePoint Development Terminologies
    http://bit.ly/sp-devel-terminologies
    Features
    Event Receivers
    List Forms
    Web Parts
    Field Controls
    Workflows
    Site Definitions & Site Templates
    Modules
    Master Pages
    Page Layouts
    Solution Packages
    (wsp)
  • 13. Features and Site Definitions
  • 14. Solution Deployment
    WSS ConfigDB
    add
    HelpDesk.wsp(WSS Solution Cab)
    delete
    Feature Manifests
    deploy
    UI,
    Command Line,
    OM “deploy” command
    Template Files
    retract
    Assemblies
    New WFE
    Web Front End Servers
  • 15. VS2010 Project Templates
  • 16. VS2010 Item Templates
  • 17. VS2010 SharePoint Project Customization Wizard
  • 18. SharePoint Server Capabilities
    Pages and User Interface
    Connected Client APIs
    Server APIs
    Web UI
    Framework
    Content
    Search
    Compositions
    Insights
    Sites
    Communities
    ASP.NET forms
    File System
    Lists
    External Lists
    Query
    Content Types
    Workflow
    Web Services
    Library Features
    Silverlight
    XSLT Views
    Web Parts
    LINQ
    REST
    Client OM
    Event Model
    Solutions
    Features
    Templates
    Application Lifecycle
    Application Model (Sites)
    Content Management
    Data Model Lists
    Improved
    New
  • 19. Overview of Data Technologies
    http://bit.ly/sp-videos
    REST APIs
    Strongly-typed lists
    http://bit.ly/sp-virtual-labs
    ClientOM
    Weakly-typed lists
    Client-side
    Data Platform
    Farm
    Site
    List Data
    External Lists
    ServerOM
    Server-side
    Weakly-typed lists
    SPLinq
    Strongly-typed lists
    New in SP2010
    Improved
  • 20. SharePoint Web Services
    http://bit.ly/sp-web-services
  • 21. MOSS 2007
  • 22. Development Best Practices
    http://spg.codeplex.com/
    Don’t alter the SharePoint schema, assume it will change.
    Use facilities that already exist, such as ULS logs, instead of building your own.
    Limit amount of work performed in an event receiver.
    Don’t evaluate List.Items in a loop expression.
    Dispose of types correctly.
  • 23. Iterating Lists – the WRONG way
    SPList myList = SPContext.Current.List;
    for(inti=0; i < myList.Items.Count; i++)
    {  
    SPListItem listItem = myList.Items[i];  
    htmlWriter.Write(listItem["Title"]);
    }
  • 24. Iterating Lists – the RIGHT way
    SPListItemCollection items = SPContext.Current.List.Items;
    for(inti=0; i < items.Count; i++)
    {  
    SPListItem listItem = items[i];  
    htmlWriter.Write(listItem["Title"]);
    }
  • 25. Disposing of objects
    http://bit.ly/best-practices-disposable-objects
    General rule: If you create an object using “new”, dispose of it.
    SPSite site = new SPSite(“http://moss”);
    SPWeb web = site.OpenWeb()
    General rule: If you access from context, DO NOT dispose of it
    SPSite site = SPContext.Current.Site;
    Use SPDisposeCheck - http://bit.ly/spdisposecheck
  • 26. Conclusion
    The professional NET developer can take advantage of SharePoint Products and Technologies to build components and enterprise solutions
    Uses ASP.NET 2.0 framework
    Provides its own complete set of features
    Developers experienced with the .NET Framework can take advantage of the built-in features and capabilities offered
  • 27. Summary
    Microsoft SharePoint Platform
    Development Tools
    Solution Package Deployment
    Data Technologies
    Development Best Practices
    Links to many resources….
  • 28. SharePoint 2010
  • 29. http://bit.ly/spdev-getting-started
    Thank You
    chaks@intergen.co.nz
    http://www.chakkaradeep.com
    http://twitter.com/chakkaradeep