Publicité
Publicité

Contenu connexe

Publicité

Plus de John Ferringer(18)

Dernier(20)

Publicité

Intro to SharePoint 2010 development for .NET developers

  1. WHAT IS SHAREPOINT?
  2. Maybe you’ve heard it called…
  3. Or…
  4. Perhaps You’ve Seen…
  5. Or…
  6. Let’s simplify things… SharePoint is: • Collaboration • Search • Content Aggregation • Content Management • Applications
  7. What kind of Applications? • Data Display • Business Collaboration • Line of Business Applications • Business Intelligence • Process Management • Public Web Sites
  8. .NET AND SHAREPOINT
  9. They have a lot in common • Architecture • Infrastructure • Security • Deployment • Web Parts, Fields, User Controls
  10. Why SharePoint?
  11. With SharePoint you get: • Security • Search • Content Management • Workflows • Provisioning
  12. TOOLS FOR SHAREPOINT’S NUTS AND BOLTS
  13. Visual Studio 2010 • Broad SharePoint Support • Build web parts, templates, workflow, and much more • Package and deploy • View live SharePoint sites • TFS Integration • Extensible
  14. SharePoint Designer 2010 • “No Code” development • Customize sites, lists, web parts • Design workflow • Edit pages • Free
  15. Debugging Tools (and the IE Developer Toolbar)
  16. Supplemental Tools CKS:DEV Visual Studio 2010 SharePoint Power Tools
  17. Managed Code • Traditional SharePoint & .NET Development • Compiled • Runs Server-Side
  18. Client-Side Code • Not compiled • JavaScript • Silverlight
  19. SharePoint Development Gotchas
  20. Beware of Greedy Objects • SPSite • SPWeb Similar, but different: • SPList.Items
  21. No Unsupported Changes! • SharePoint Root …but its ok sometimes • SharePoint Databases NEVER!
  22. Deployment Packaging • Always deliver via Solution Packages (WSP) • Perfection = 3 files – .WSP – Deployment Script – Retraction Script • Avoid Backup/Restore or Export/Import • Remember to address configuration
  23. What’s a WSP? • Cabinet file • Contains: – XML Files • Manifest.xml • Feature.xml – Assemblies – Other Files • Master Pages • Page Layouts • User Controls • Image Files • Stylesheets
  24. Keys to Successful WSP Deployment • Where is it going? – Sandbox? – Large Env (instrument your code!) • Temper your expectations • Test your deployments!
  25. TESTING
  26. Compilation ≠ Testing
  27. Three Critical Testing Stages • Unit Testing • Deployment Testing • System Testing
  28. PROVEN PRACTICES
  29. Have Development Standards • Naming • Source Control • Labeling Code Files
  30. Use Virtualization
  31. Code the Right Way • Don’t get fancy • Don’t expect Full Privilege • Dispose your objects • Log errors & activity
  32. Avoid Tunnel Vision • No perfect solutions • No “One-Size Fits All” • Heed warnings
  33. Document Everything
  34. Have you thanked your administrator today?
  35. Questions? QUESTIONS?
Publicité