A lot of you have requested the sample code for the MSDN article on Custom Alert Channels in SharePoint Portal Server 2003. Many of you received it via email. To avoid doing this again and again, I have finally uploaded the zips to our SharePoint site. You will find four zip files and a SQL script for the database creation:

  • PortalMessengerAlertChannel
    This is the custom alert channel class as discussed in the article.
  • ChannelInstaller
    The Windows app for the registration and the unregistration of the channel.
  • AlertClientService
    For demo purposes I was cheating with the messenger popups and used a small windows application that polls the database every 10 seconds and displays a messenger alert. You can use the MSN alert web service if you want but most of the time I am doing these demos in non-networking environments :-)
  • AlertsTester
    Small sample app to test the AlertClientService.

Take the code as it is. Learn from it and enjoy. If you have questions on it, feel free to drop an email.