Applying a Sample Provider Template

Applies to: Office 2007 | Outlook 2010 | SharePoint Server 2010

The sample Microsoft Outlook Social Connector (OSC) provider templates give you a framework for implementing an OSC provider. The provider templates are available in C++, C#, and Visual Basic. These templates are just a starting point for your provider development; the templates do not address writing the implementation code for the provider and creating a setup package for the provider. The following procedure shows how to apply an OSC provider template when you begin to develop a provider.

To apply an OSC provider template

  1. Change the project name and namespace in the template to your project name and namespace identifiers.

  2. Modify the AssemblyInfo class to specify the appropriate assembly information.

  3. Implement the interface members marked as To-Do and add more dependencies and references, as required.

  4. Build the project.

  5. Ensure that the provider assembly ProgID is listed as a key under HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\SocialConnector\SocialProviders.

  6. To distribute the setup project, create a setup project in Visual Studio or a setup tool of your choice.

  7. Your setup project should complete COM registration for your assembly and also create the ProgID key as listed in step 5.

See Also


Downloading the Samples

Building the Sample Provider

Other Resources

OSC Sample Provider and Templates