do's and don'ts for sharepoint developers
DESCRIPTION
TRANSCRIPT
Do’s & Don’ts for SharePoint DevelopersJeremy ThakeSharePoint MVP@jthake
• SevenSigma for Dec Pizza• All sponsors for years
pizza• All speakers•Kieran Darly, Jose Flores, Michael Hanes, Sezai Komur, Matthew Menezes, Jonathan Ponton, Mike Stringfellow, Jeremy Thake, ROY
• All attendees•~50 a session•~450 in mailing list
Thank you’s
• Volunteers• Sponsors• Speakers• Attendees
SPSPerth
Dispose correctly!
Manually deploy assemblies to GAC
Deploy debug assemblies to Test/Prod
Iterate SPListItemsCollection
Makecab.exe to create WSPs
Always deploy to /_layouts/
Swallow Exceptions
Custom Logging
Use inline code in User Controls
xcopy to SharePoint Root
Edit out of the box files
Solutions Register• Custodian• Development Team• Complexity• Source Control Location
Deployment Guides• Description of Artefacts• Acceptance Tests• Deployment Steps• Branch/Label each release
Tools• CKS:Dev• ULS Viewer• SPDisposeCheck
Leverage out of the box functionality• Content Query Web Part• Publishing Pages• ULS• CAML• Web Services / REST• Cache• Data View Web Part
Build Common Libraries• Logging• Cache• Class Extensions• Helpers
Developer Dashboard
Naming standards• CONSISTENCY!
Read!• SharePoint Team Blog• MSDN• TechNet• SharePoint P&P• NothingButSharePoint.com
• Download SPDisposeCheck• http://bit.ly/nbspDispose
• Download CKS:Dev• http://bit.ly/nbspCKSDEV
• Visit SharePoint Patterns & Practices Group• http://www.microsoft.com/spg
• Subscribe to NothingButSharePoint.com RSS• http://bit.ly/nbspRSS
• Vote for me!• http://bit.ly/voteJthake
• Speaker Rate• http://speakerrate.com/talks/5234-perth-sharepoint-user-group
Next Steps