SlideShare uma empresa Scribd logo
1 de 42
Brief introduction to WSS/MOSS

    WSS/MOSS Architecture

     Integration with ASP.NET
    Development in WSS/MOSS

     Development options
     Security
     Deployment
    Tips and Tricks

    Tools

    Real World Application

WSS/SharePoint together provide

     A collaboration and information sharing platform
     A site provisioning engine
     Business Intelligence and Business Process
      Automation
     Search
     Many more features
    WSS is part of Windows Server 2003 (free)


    MOSS is a separate installation (not free!)

How many people know

     The basic WSS/MOSS architecture concepts
     How to use the WSS/MOSS Central Admin Site
    The following are some of the basic architecture

    concepts in WSS/MOSS
       Farm (and Configuration database)
       Web Application (and Content database)
       Site Collection and Sites
       List
One or more servers which provide the

    WSS/MOSS functionality
    A Configuration Database for storing the Farm

    wide configuration information
An IIS Web Site configured to run WSS sites

     Add some IIS meta-base entries
     Add a web.config file to the root of the IIS web site
    IIS handles incoming requests for WSS/MOSS


    More than one web applications in a Farm

Site Collection is a container for the sites


    More than one Site collection in a Web

    Application
    A Site Collection has a root Site


    Site can’t live along; it must be created within the

    scope of a Site Collection
Conditional Demo
WSS/MOSS is nothing but an ASP.NET application!


    WSS/MOSS add value to ASP.NET by hooking into

    the ASP.NET request processing pipeline by virtue
    of:
       Wildcard Application Mapping
       SPHttpApplication
       SPRequestModule
       SPHttpHandler
       SPVirtualPathProvider
       Virtual directories in web application
Wildcard Application Mapping

Custom Global.asax file with SPHttpApplication

    class
SPRequestModule as the first module in the

    ASP.NET pipeline
    This gives WSS a chance to perform some

    initializations.
SPHttpHandler as the final destination for almost

    all of the requests to the web application
SPVirtualPathProvider

     WSS stores pages in the content database!
     Those pages are retrieved on demand and processed.
     This is drastically different from typical ASP.NET
      application where the pages live on the file system.
     No fear, SPVirtualPathProvider is here!
     Uses a new feature of ASP.NET 2.0 called Virtual Path
      Provider.
     SPVirtualPathProvider is responsible for loading pages
      either from the file system or the content database.
Couple of virtual directories are created under

    the IIS web site.
       _controltemplates
       _layouts
       _vti_bin
       _wpresources
Virtual directories under the IIS web site.

See do we develop applications in ASP.NET?


    Compare that to WSS/MOSS development

     Paradigm change (new concepts and constructs)
     XML based development
     Different way of deployment
Site Pages


    Application Pages


    User Controls


    WSS/MOSS Object Model and Web Services


    Event Receivers

Custom Site/List Definitions


    Custom InfoPath Forms


    Custom Workflows


    Extending BDC (Protocol Handlers, etc)


    Excel Services

Site Pages

Application Pages

User Controls

WSS/MOSS Object Model and Web Services

     Assembly based object model is for the code that runs
      on the same server
     Web Services are for managing WSS/MOSS through
      remote clients
     Assembly based object model is richer and faster than
      web services
     Most of the WSS/MOSS functionality is available
Event Receivers

     As the name implies; these classes receive events.
     Five types of event receivers
         Item Event Receivers
         List Event Receivers
         Email Event Receivers
         Feature Receivers
         Web Event Receivers
     Two main types of events captured by an event receiver
       Before events (Synchronous)
       After events (Asynchronous)
     Must live in GAC
Item Event Receivers

     Derives from SPItemEventReceiver class
     Events are raised for the list items
List Event Receivers

     Derives from SPListEventReceiver class
     Events are raised when the list schema changes
Email Event Receivers

     Derives from SPEmailEventReceiver class
     Event is raised when a list receives an email message
Feature Receivers

     Derives from SPFeatureReceiver class
     Events are raised whenever a Feature is manipulated
      by WSS.
Web Event Receivers

     Derives from SPWebEventReceiver class
     Events are raised whenever changes occur to sites or
      web applications.
Demo
Features

     Unit of Deployment
     WSS/MOSS provide many of the their functionalities
      through features
Deployment

     WSP
      Consolidates all of the artifacts into one deployment
       package file (.wsp)
      A typical CAB file created using makecab.exe
      Some ad-hoc tools available for creating the supporting
       .ddf file needed by makecab.exe
      The deployment of the package can be scheduled using
       the stsadm or Central Admin tool.
Demo
SPSecurity.RunWithElevatedPrivileges

     Allows the code to perform administrative tasks which
      would not be possible to perform under normal
      execution
     Runs the delegate method as the WSS SYSTEM
      identity (means no authorization in WSS/MOSS!)
WSS/MOSS Log

     Contains tons of information for debugging issues




     Log File Content
Change the .config file in order to get rich error

    messages during development (No more “An
    unexpected error has occurred” message)
     Turn the CallStack to true (it is false by default)



     Turn off customErrors
Add 12 folder to the task bar

Windows SharePoint Services 3.0 Tools: Visual Studio 2005

    Extensions, Version 1.1
     http://www.microsoft.com/downloads/details.aspx?FamilyID=3E1DCC
      CD-1CCA-433A-BB4D-97B96BF7AB63&displaylang=en
    User Guide and Samples for Visual Studio 2005 extensions for

    Windows SharePoint Services 3.0
     http://www.microsoft.com/downloads/details.aspx?FamilyId=A8A4E77
      5-074D-4451-BE39-459921F79787
    STSDEV: Simple Tools for SharePoint 2007 Development

     http://www.codeplex.com/stsdev
    SharePoint Manager 2007

     http://www.codeplex.com/spm
    SharePoint Developer Explorer

     http://www.codeplex.com/spdevexplorer
    SharePoint SmartTemplates for Visual Studio

     http://www.codeplex.com/smarttemplates
PowerShell Extensions for SharePoint

     http://www.codeplex.com/SPPSExtensions
    SharePoint 2007 List Membership Provider

     http://www.codeplex.com/SPListMP
    SharePoint AJAX Toolkit

     http://www.codeplex.com/sharepointajax
    Community Kit for SharePoint

     http://www.codeplex.com/CKS
    Accessibility Kit for SharePoint

     http://www.codeplex.com/aks
    SharePoint 2007 WCM Field Controls

     http://www.codeplex.com/SPWCMFieldControls
    WSPBuilder

     http://www.codeplex.com/wspbuilder
    SharePoint Cross-site Configurator

     http://www.codeplex.com/SPConfigurator
WSS And Share Point For Developers

Mais conteúdo relacionado

Mais procurados

Sql And Storage Considerations For Share Point Server 2010
Sql And Storage Considerations For Share Point Server 2010Sql And Storage Considerations For Share Point Server 2010
Sql And Storage Considerations For Share Point Server 2010Mike Watson
 
Hosting a website on IIS Server
Hosting a website on IIS ServerHosting a website on IIS Server
Hosting a website on IIS ServerDinesh Vasamshetty
 
Joe Staner Zend Con 2008
Joe Staner Zend Con 2008Joe Staner Zend Con 2008
Joe Staner Zend Con 2008ZendCon
 
Building Highly Scalable Java Applications on Windows Azure - JavaOne S313978
Building Highly Scalable Java Applications on Windows Azure - JavaOne S313978Building Highly Scalable Java Applications on Windows Azure - JavaOne S313978
Building Highly Scalable Java Applications on Windows Azure - JavaOne S313978David Chou
 
Writing simple web services in java using eclipse editor
Writing simple web services in java using eclipse editorWriting simple web services in java using eclipse editor
Writing simple web services in java using eclipse editorSantosh Kumar Kar
 
Build sites on iis
Build sites on iisBuild sites on iis
Build sites on iisPaul Davis
 
Tomcat and MySQL in Windows Azure
Tomcat and MySQL in Windows Azure Tomcat and MySQL in Windows Azure
Tomcat and MySQL in Windows Azure Guada Casuso
 
Leveraging azure and cello for delivering highly scalable multi tenant
Leveraging azure and cello for delivering highly scalable multi tenantLeveraging azure and cello for delivering highly scalable multi tenant
Leveraging azure and cello for delivering highly scalable multi tenantkanimozhin
 
Ch 04 asp.net application
Ch 04 asp.net application Ch 04 asp.net application
Ch 04 asp.net application Madhuri Kavade
 
How to Harden the Security of Your .NET Website
How to Harden the Security of Your .NET WebsiteHow to Harden the Security of Your .NET Website
How to Harden the Security of Your .NET WebsiteDNN
 
ASP.NET Core 2.1: The Future of Web Apps
ASP.NET Core 2.1: The Future of Web AppsASP.NET Core 2.1: The Future of Web Apps
ASP.NET Core 2.1: The Future of Web AppsShahed Chowdhuri
 
Clustering Multiple Instances in Cold Fusion
Clustering Multiple Instances in Cold FusionClustering Multiple Instances in Cold Fusion
Clustering Multiple Instances in Cold FusionMindfire Solutions
 
"Spring Boot. Boot up your development" Сергей Моренец
"Spring Boot. Boot up your development" Сергей Моренец"Spring Boot. Boot up your development" Сергей Моренец
"Spring Boot. Boot up your development" Сергей МоренецFwdays
 
Java dans Windows Azure Cloud Services, big data avec hd insight et les nouve...
Java dans Windows Azure Cloud Services, big data avec hd insight et les nouve...Java dans Windows Azure Cloud Services, big data avec hd insight et les nouve...
Java dans Windows Azure Cloud Services, big data avec hd insight et les nouve...Microsoft
 
Upgrade, Migrate and Virtualisation with SharePoint 2010
Upgrade, Migrate and Virtualisation with SharePoint 2010Upgrade, Migrate and Virtualisation with SharePoint 2010
Upgrade, Migrate and Virtualisation with SharePoint 2010Alan Richards
 
Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...SPTechCon
 
ASP.NET Core 2.1: The Future of Web Apps
ASP.NET Core 2.1: The Future of Web AppsASP.NET Core 2.1: The Future of Web Apps
ASP.NET Core 2.1: The Future of Web AppsShahed Chowdhuri
 
Windows Azure Active Directory
Windows Azure Active DirectoryWindows Azure Active Directory
Windows Azure Active DirectoryPavel Revenkov
 

Mais procurados (20)

Sql And Storage Considerations For Share Point Server 2010
Sql And Storage Considerations For Share Point Server 2010Sql And Storage Considerations For Share Point Server 2010
Sql And Storage Considerations For Share Point Server 2010
 
Hosting a website on IIS Server
Hosting a website on IIS ServerHosting a website on IIS Server
Hosting a website on IIS Server
 
Joe Staner Zend Con 2008
Joe Staner Zend Con 2008Joe Staner Zend Con 2008
Joe Staner Zend Con 2008
 
Building Highly Scalable Java Applications on Windows Azure - JavaOne S313978
Building Highly Scalable Java Applications on Windows Azure - JavaOne S313978Building Highly Scalable Java Applications on Windows Azure - JavaOne S313978
Building Highly Scalable Java Applications on Windows Azure - JavaOne S313978
 
Writing simple web services in java using eclipse editor
Writing simple web services in java using eclipse editorWriting simple web services in java using eclipse editor
Writing simple web services in java using eclipse editor
 
Build sites on iis
Build sites on iisBuild sites on iis
Build sites on iis
 
Tomcat and MySQL in Windows Azure
Tomcat and MySQL in Windows Azure Tomcat and MySQL in Windows Azure
Tomcat and MySQL in Windows Azure
 
Leveraging azure and cello for delivering highly scalable multi tenant
Leveraging azure and cello for delivering highly scalable multi tenantLeveraging azure and cello for delivering highly scalable multi tenant
Leveraging azure and cello for delivering highly scalable multi tenant
 
Ch 04 asp.net application
Ch 04 asp.net application Ch 04 asp.net application
Ch 04 asp.net application
 
How to Harden the Security of Your .NET Website
How to Harden the Security of Your .NET WebsiteHow to Harden the Security of Your .NET Website
How to Harden the Security of Your .NET Website
 
ASP.NET Core 2.1: The Future of Web Apps
ASP.NET Core 2.1: The Future of Web AppsASP.NET Core 2.1: The Future of Web Apps
ASP.NET Core 2.1: The Future of Web Apps
 
Clustering Multiple Instances in Cold Fusion
Clustering Multiple Instances in Cold FusionClustering Multiple Instances in Cold Fusion
Clustering Multiple Instances in Cold Fusion
 
Chapter 26
Chapter 26Chapter 26
Chapter 26
 
"Spring Boot. Boot up your development" Сергей Моренец
"Spring Boot. Boot up your development" Сергей Моренец"Spring Boot. Boot up your development" Сергей Моренец
"Spring Boot. Boot up your development" Сергей Моренец
 
Java dans Windows Azure Cloud Services, big data avec hd insight et les nouve...
Java dans Windows Azure Cloud Services, big data avec hd insight et les nouve...Java dans Windows Azure Cloud Services, big data avec hd insight et les nouve...
Java dans Windows Azure Cloud Services, big data avec hd insight et les nouve...
 
Upgrade, Migrate and Virtualisation with SharePoint 2010
Upgrade, Migrate and Virtualisation with SharePoint 2010Upgrade, Migrate and Virtualisation with SharePoint 2010
Upgrade, Migrate and Virtualisation with SharePoint 2010
 
Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
 
ASP.NET Core 2.1: The Future of Web Apps
ASP.NET Core 2.1: The Future of Web AppsASP.NET Core 2.1: The Future of Web Apps
ASP.NET Core 2.1: The Future of Web Apps
 
Web Servers (ppt)
Web Servers (ppt)Web Servers (ppt)
Web Servers (ppt)
 
Windows Azure Active Directory
Windows Azure Active DirectoryWindows Azure Active Directory
Windows Azure Active Directory
 

Destaque

Vietnam Day Lahti Finland 2008 - Presentation
Vietnam Day Lahti Finland 2008 - PresentationVietnam Day Lahti Finland 2008 - Presentation
Vietnam Day Lahti Finland 2008 - PresentationVu Nguyen
 
Making Social Media Your BFF
Making Social Media Your BFFMaking Social Media Your BFF
Making Social Media Your BFFsheaknight
 
Unforgiveable Blackness
Unforgiveable BlacknessUnforgiveable Blackness
Unforgiveable Blacknessguestb83c17
 
51d107e206670f84b7e4f9f00c2ae398
51d107e206670f84b7e4f9f00c2ae39851d107e206670f84b7e4f9f00c2ae398
51d107e206670f84b7e4f9f00c2ae398Suhaimi Shoib
 

Destaque (7)

school thing
school thingschool thing
school thing
 
Vietnam Day Lahti Finland 2008 - Presentation
Vietnam Day Lahti Finland 2008 - PresentationVietnam Day Lahti Finland 2008 - Presentation
Vietnam Day Lahti Finland 2008 - Presentation
 
Making Social Media Your BFF
Making Social Media Your BFFMaking Social Media Your BFF
Making Social Media Your BFF
 
Connections.
Connections.Connections.
Connections.
 
Labor Tech 2008 Pt1
Labor Tech 2008 Pt1Labor Tech 2008 Pt1
Labor Tech 2008 Pt1
 
Unforgiveable Blackness
Unforgiveable BlacknessUnforgiveable Blackness
Unforgiveable Blackness
 
51d107e206670f84b7e4f9f00c2ae398
51d107e206670f84b7e4f9f00c2ae39851d107e206670f84b7e4f9f00c2ae398
51d107e206670f84b7e4f9f00c2ae398
 

Semelhante a WSS And Share Point For Developers

ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET PresentationRasel Khan
 
SharePoint Object Model, Web Services and Events
SharePoint Object Model, Web Services and EventsSharePoint Object Model, Web Services and Events
SharePoint Object Model, Web Services and EventsMohan Arumugam
 
PHP on Windows and on Azure
PHP on Windows and on AzurePHP on Windows and on Azure
PHP on Windows and on AzureMaarten Balliauw
 
Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015Bluegrass Digital
 
CTU June 2011 - Things that Every ASP.NET Developer Should Know
CTU June 2011 - Things that Every ASP.NET Developer Should KnowCTU June 2011 - Things that Every ASP.NET Developer Should Know
CTU June 2011 - Things that Every ASP.NET Developer Should KnowSpiffy
 
Building & managing wa app wely
Building & managing wa app   welyBuilding & managing wa app   wely
Building & managing wa app welySpiffy
 
Building & Managing Windows Azure
Building & Managing Windows AzureBuilding & Managing Windows Azure
Building & Managing Windows AzureK.Mohamed Faizal
 
ASPNET Roadmap
ASPNET RoadmapASPNET Roadmap
ASPNET Roadmapukdpe
 
Asp.net architecture
Asp.net architectureAsp.net architecture
Asp.net architectureIblesoft
 
IIS for Developers
IIS for DevelopersIIS for Developers
IIS for DevelopersIdo Flatow
 
Learning ASP.NET 5 and MVC 6
Learning ASP.NET 5 and MVC 6Learning ASP.NET 5 and MVC 6
Learning ASP.NET 5 and MVC 6Ido Flatow
 
SharePoint 2007 Presentation
SharePoint 2007 PresentationSharePoint 2007 Presentation
SharePoint 2007 PresentationAjay Jain
 

Semelhante a WSS And Share Point For Developers (20)

Advanced Asp.Net Concepts And Constructs
Advanced Asp.Net Concepts And ConstructsAdvanced Asp.Net Concepts And Constructs
Advanced Asp.Net Concepts And Constructs
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET Presentation
 
ASP.NET OVERVIEW
ASP.NET OVERVIEWASP.NET OVERVIEW
ASP.NET OVERVIEW
 
SharePoint Object Model, Web Services and Events
SharePoint Object Model, Web Services and EventsSharePoint Object Model, Web Services and Events
SharePoint Object Model, Web Services and Events
 
PHP on Windows and on Azure
PHP on Windows and on AzurePHP on Windows and on Azure
PHP on Windows and on Azure
 
Road Show Asp Net
Road Show Asp NetRoad Show Asp Net
Road Show Asp Net
 
Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015
 
CTU June 2011 - Things that Every ASP.NET Developer Should Know
CTU June 2011 - Things that Every ASP.NET Developer Should KnowCTU June 2011 - Things that Every ASP.NET Developer Should Know
CTU June 2011 - Things that Every ASP.NET Developer Should Know
 
Building & managing wa app wely
Building & managing wa app   welyBuilding & managing wa app   wely
Building & managing wa app wely
 
Building & Managing Windows Azure
Building & Managing Windows AzureBuilding & Managing Windows Azure
Building & Managing Windows Azure
 
ASPNET Roadmap
ASPNET RoadmapASPNET Roadmap
ASPNET Roadmap
 
Asp.net architecture
Asp.net architectureAsp.net architecture
Asp.net architecture
 
IIS for Developers
IIS for DevelopersIIS for Developers
IIS for Developers
 
Walther Aspnet4
Walther Aspnet4Walther Aspnet4
Walther Aspnet4
 
Learning ASP.NET 5 and MVC 6
Learning ASP.NET 5 and MVC 6Learning ASP.NET 5 and MVC 6
Learning ASP.NET 5 and MVC 6
 
IIS 6.0 and asp.net
IIS 6.0 and asp.netIIS 6.0 and asp.net
IIS 6.0 and asp.net
 
SharePoint 2007 Presentation
SharePoint 2007 PresentationSharePoint 2007 Presentation
SharePoint 2007 Presentation
 
PHP on Windows
PHP on WindowsPHP on Windows
PHP on Windows
 
PHP on Windows
PHP on WindowsPHP on Windows
PHP on Windows
 
Rutgers - Active Server Pages
Rutgers - Active Server PagesRutgers - Active Server Pages
Rutgers - Active Server Pages
 

WSS And Share Point For Developers

  • 1.
  • 2. Brief introduction to WSS/MOSS  WSS/MOSS Architecture   Integration with ASP.NET Development in WSS/MOSS   Development options  Security  Deployment Tips and Tricks  Tools  Real World Application 
  • 3. WSS/SharePoint together provide   A collaboration and information sharing platform  A site provisioning engine  Business Intelligence and Business Process Automation  Search  Many more features WSS is part of Windows Server 2003 (free)  MOSS is a separate installation (not free!) 
  • 4. How many people know   The basic WSS/MOSS architecture concepts  How to use the WSS/MOSS Central Admin Site The following are some of the basic architecture  concepts in WSS/MOSS  Farm (and Configuration database)  Web Application (and Content database)  Site Collection and Sites  List
  • 5. One or more servers which provide the  WSS/MOSS functionality A Configuration Database for storing the Farm  wide configuration information
  • 6.
  • 7. An IIS Web Site configured to run WSS sites   Add some IIS meta-base entries  Add a web.config file to the root of the IIS web site IIS handles incoming requests for WSS/MOSS  More than one web applications in a Farm 
  • 8.
  • 9. Site Collection is a container for the sites  More than one Site collection in a Web  Application A Site Collection has a root Site  Site can’t live along; it must be created within the  scope of a Site Collection
  • 11. WSS/MOSS is nothing but an ASP.NET application!  WSS/MOSS add value to ASP.NET by hooking into  the ASP.NET request processing pipeline by virtue of:  Wildcard Application Mapping  SPHttpApplication  SPRequestModule  SPHttpHandler  SPVirtualPathProvider  Virtual directories in web application
  • 13. Custom Global.asax file with SPHttpApplication  class
  • 14. SPRequestModule as the first module in the  ASP.NET pipeline This gives WSS a chance to perform some  initializations.
  • 15. SPHttpHandler as the final destination for almost  all of the requests to the web application
  • 16. SPVirtualPathProvider   WSS stores pages in the content database!  Those pages are retrieved on demand and processed.  This is drastically different from typical ASP.NET application where the pages live on the file system.  No fear, SPVirtualPathProvider is here!  Uses a new feature of ASP.NET 2.0 called Virtual Path Provider.  SPVirtualPathProvider is responsible for loading pages either from the file system or the content database.
  • 17. Couple of virtual directories are created under  the IIS web site.  _controltemplates  _layouts  _vti_bin  _wpresources
  • 18. Virtual directories under the IIS web site. 
  • 19. See do we develop applications in ASP.NET?  Compare that to WSS/MOSS development   Paradigm change (new concepts and constructs)  XML based development  Different way of deployment
  • 20. Site Pages  Application Pages  User Controls  WSS/MOSS Object Model and Web Services  Event Receivers 
  • 21. Custom Site/List Definitions  Custom InfoPath Forms  Custom Workflows  Extending BDC (Protocol Handlers, etc)  Excel Services 
  • 25. WSS/MOSS Object Model and Web Services   Assembly based object model is for the code that runs on the same server  Web Services are for managing WSS/MOSS through remote clients  Assembly based object model is richer and faster than web services  Most of the WSS/MOSS functionality is available
  • 26. Event Receivers   As the name implies; these classes receive events.  Five types of event receivers  Item Event Receivers  List Event Receivers  Email Event Receivers  Feature Receivers  Web Event Receivers  Two main types of events captured by an event receiver  Before events (Synchronous)  After events (Asynchronous)  Must live in GAC
  • 27. Item Event Receivers   Derives from SPItemEventReceiver class  Events are raised for the list items
  • 28. List Event Receivers   Derives from SPListEventReceiver class  Events are raised when the list schema changes
  • 29. Email Event Receivers   Derives from SPEmailEventReceiver class  Event is raised when a list receives an email message
  • 30. Feature Receivers   Derives from SPFeatureReceiver class  Events are raised whenever a Feature is manipulated by WSS.
  • 31. Web Event Receivers   Derives from SPWebEventReceiver class  Events are raised whenever changes occur to sites or web applications.
  • 32. Demo
  • 33. Features   Unit of Deployment  WSS/MOSS provide many of the their functionalities through features
  • 34. Deployment   WSP  Consolidates all of the artifacts into one deployment package file (.wsp)  A typical CAB file created using makecab.exe  Some ad-hoc tools available for creating the supporting .ddf file needed by makecab.exe  The deployment of the package can be scheduled using the stsadm or Central Admin tool.
  • 35. Demo
  • 36. SPSecurity.RunWithElevatedPrivileges   Allows the code to perform administrative tasks which would not be possible to perform under normal execution  Runs the delegate method as the WSS SYSTEM identity (means no authorization in WSS/MOSS!)
  • 37. WSS/MOSS Log   Contains tons of information for debugging issues  Log File Content
  • 38. Change the .config file in order to get rich error  messages during development (No more “An unexpected error has occurred” message)  Turn the CallStack to true (it is false by default)  Turn off customErrors
  • 39. Add 12 folder to the task bar 
  • 40. Windows SharePoint Services 3.0 Tools: Visual Studio 2005  Extensions, Version 1.1  http://www.microsoft.com/downloads/details.aspx?FamilyID=3E1DCC CD-1CCA-433A-BB4D-97B96BF7AB63&displaylang=en User Guide and Samples for Visual Studio 2005 extensions for  Windows SharePoint Services 3.0  http://www.microsoft.com/downloads/details.aspx?FamilyId=A8A4E77 5-074D-4451-BE39-459921F79787 STSDEV: Simple Tools for SharePoint 2007 Development   http://www.codeplex.com/stsdev SharePoint Manager 2007   http://www.codeplex.com/spm SharePoint Developer Explorer   http://www.codeplex.com/spdevexplorer SharePoint SmartTemplates for Visual Studio   http://www.codeplex.com/smarttemplates
  • 41. PowerShell Extensions for SharePoint   http://www.codeplex.com/SPPSExtensions SharePoint 2007 List Membership Provider   http://www.codeplex.com/SPListMP SharePoint AJAX Toolkit   http://www.codeplex.com/sharepointajax Community Kit for SharePoint   http://www.codeplex.com/CKS Accessibility Kit for SharePoint   http://www.codeplex.com/aks SharePoint 2007 WCM Field Controls   http://www.codeplex.com/SPWCMFieldControls WSPBuilder   http://www.codeplex.com/wspbuilder SharePoint Cross-site Configurator   http://www.codeplex.com/SPConfigurator