1 / 16

SharePoint Development/Deployment Best Practices

SharePoint Development/Deployment Best Practices. Todd Kitta September 2008 Saint Louis SharePoint Users Group. Agenda. Introductions Features Solutions Helpers Demo. A Little About Me. Husband & father of 2 beautiful girls! SharePoint Architect for Covenant Technology Partners

eshana
Download Presentation

SharePoint Development/Deployment Best Practices

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SharePoint Development/Deployment Best Practices Todd Kitta September 2008 Saint Louis SharePoint Users Group

  2. Agenda • Introductions • Features • Solutions • Helpers • Demo

  3. A Little About Me • Husband & father of 2 beautiful girls! • SharePoint Architect for Covenant Technology Partners • SharePoint Podcast – www.mossgonewild.com

  4. SharePoint Development Overview • SharePoint == Big ASP.NET Application • SharePoint v2 (WSS 2.0, SPS 2003) • SharePoint v3 (WSS 3.0, MOSS 2007)

  5. You should never have to manually do anything on the web front end!

  6. Features • Distinct piece of deployable functionality, can be turned on and off • Scoped at a Farm, Web Application, site collection (Site), or site (Web) level • Feature.xml • Elements Manifest(s) • Reference wss.xsd (C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML\wss.xsd) • Goes for all other XML files as well…

  7. Things you can do with Features • Create new site columns and content types • Create new list instances with pre-populated data • Associate a content type with a list • Deploy a custom workflow • Add a link to any ASPX page from the site menu • Deploy a new site page • Millions of other things…

  8. Feature Receivers • If you cannot do something in your Feature.xml or Elements.xml, you can do it in code! • Other web.config modifications • Setting lookup column references for lists you are creating in the current feature(s) • Order of operations

  9. Solutions • Manifest.xml • Know the DDF file • makecab.exe Solutions are just CAB files (with a WSP extension)

  10. Things you can do with solutions • Deploy one or more features to a farm • Add a DLL to the GAC • Make web.config changes (SafeControls for example) • Deploy application pages, images, etc. to the LAYOUTS folder

  11. Stuff to help you do this • STSDEV (http://www.codeplex.com/stsdev) • WSP Builder (http://www.codeplex.com/wspbuilder) • WSS Extensions for Visual Studio • VS2005: http://www.microsoft.com/downloads/details.aspx?familyid=3E1DCCCD-1CCA-433A-BB4D-97B96BF7AB63&displaylang=en • VS2008: http://www.microsoft.com/downloads/details.aspx?familyid=7BF65B28-06E2-4E87-9BAD-086E32185E68&displaylang=en

  12. 1 WSPBuilder 2 3

  13. STSDEV Demo

  14. You should really feel comfortable with doing this stuff manually before using wizards or other helpers

  15. Good Sources • SharePoint Developer Center http://msdn.microsoft.com/en-us/sharepoint/default.aspx • http://www.mossgonewild.com/

  16. Questions?

More Related