Your SlideShare is downloading. ×
Getting Started WithSharePoint Development<br />Chakkaradeep Chandran<br />http://www.chakkaradeep.com<br />@chakkaradeep<...
Microsoft SharePoint<br />Provides an extensible solution platform for the professional Microsoft .NET developer<br />Offe...
Get the Names Right!<br />Windows SharePoint Services 3.0 (FREE)<br />Microsoft Office SharePoint Server 2007<br />   (MOS...
Benefits to .NET Developers<br />A familiar development environment for .NET developers<br />Built-in features that develo...
SharePoint for Developers<br />First Class SharePoint Developer Tools<br />Faster Solution Debugging & Tuning<br />Choice ...
SharePoint Stack<br />
SharePoint Application Landscape<br />Business Collaboration Applications<br />SharePoint Core<br />Portal for LOB Applica...
Development Environment<br />On the metal<br />Vista or Windows 7 (SP2010)<br />Windows Server 2008 R2<br />Virtualization...
Development on Windows 7or Windows Vista SP1 (SP2010)<br />Just for Developers<br />Requires Following Install Guide in SD...
Development Tools<br />http://bit.ly/sp-dev-tools<br />
SharePoint Terminologies<br />http://bit.ly/sp-terminology<br />SharePoint Farm<br />SharePoint Site Collection & Sites<br...
SharePoint  Development Terminologies<br />http://bit.ly/sp-devel-terminologies<br />Features<br />Event Receivers<br />Li...
Features and Site Definitions<br />
Solution Deployment<br />WSS ConfigDB<br />add<br />HelpDesk.wsp(WSS Solution Cab)<br />delete<br />Feature Manifests<br /...
VS2010 Project Templates<br />
VS2010 Item Templates<br />
VS2010 SharePoint Project Customization Wizard<br />
SharePoint Server Capabilities<br />Pages and User Interface<br />Connected Client APIs<br />Server APIs<br />Web UI<br />...
Overview of Data Technologies<br />http://bit.ly/sp-videos<br />REST APIs<br />Strongly-typed lists<br />http://bit.ly/sp-...
SharePoint Web Services<br />http://bit.ly/sp-web-services<br />
MOSS 2007<br />
Development Best Practices<br />http://spg.codeplex.com/<br />Don’t alter the SharePoint schema, assume it will change.<br...
Iterating Lists – the WRONG way<br />SPList myList = SPContext.Current.List; <br />for(inti=0; i < myList.Items.Count; i++...
Iterating Lists – the RIGHT way<br />SPListItemCollection items = SPContext.Current.List.Items; <br />for(inti=0; i < item...
Disposing of objects<br />http://bit.ly/best-practices-disposable-objects<br />General rule: If you create an object using...
Conclusion<br />The professional NET developer can take advantage of SharePoint Products and Technologies to build compone...
Summary<br />Microsoft SharePoint Platform<br />Development Tools<br />Solution Package Deployment<br />Data Technologies<...
SharePoint 2010<br />
http://bit.ly/spdev-getting-started<br />Thank You<br />chaks@intergen.co.nz<br />http://www.chakkaradeep.com<br />http://...
Upcoming SlideShare
Loading in...5
×

Getting Started with SharePoint Development

2,704

Published on

Getting Started with SharePoint Development

Published in: Technology
1 Comment
1 Like
Statistics
Notes
No Downloads
Views
Total Views
2,704
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
1
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Getting Started with SharePoint Development"

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

×