InfiniTec - Henning Krauses Blog

Don't adjust your mind - it's reality that is malfunctioning

Using Streaming Notifications with Exchange 2010

That is the title of an article I wrote for Microsoft. It has been published here a few days ago:

Summary: Streaming notifications, which combine the functionalities of push and pull notifications, are new in Microsoft Exchange Server 2010 Service Pack 1 (SP1). This article explains how streaming notifications work and when to use them.

The code sample is missing, but that will be fixed in a few days.


Posted by Henning Krause on Friday, July 15, 2011 7:50 PM, last modified on Saturday, July 30, 2011 10:38 PM
Permalink | Post RSSRSS comment feed

Comments (6) -

On 7/30/2011 9:48:40 PM Mike wrote:

Mike

Awesome article.

No where else on the internet did I find such an in depth article about essentially never missing mailbox activity with the syncing functionality.

Also, the link "Exchange Server 2010 Development (Part 6 of 6): Best Practices for Building Scalable Exchange Server Applications" appears to have been moved to www.microsoft.com/.../unifiedcommunications.aspx .

Lastly, will the code be available soon?

Reply

On 7/30/2011 10:38:41 PM Mike wrote:

Mike

Not sure where my previous comment went. But will the code be available soon? I'm particularly interested in seeing how to implement both streaming notifications and manual syncing. It appears as if even though you process emails in a notification handler that your sync state becomes stale and will return emails that have already been processed..

What am I missing?

Reply

On 7/30/2011 10:51:13 PM hkrause wrote:

hkrause

Hi,
The sample code will hopefully be published in a week or two.

Reply

On 8/1/2011 6:52:20 PM Mike wrote:

Mike

Thanks for the reply. Look forward to seeing it.

Reply

On 8/6/2011 7:11:54 PM Mike wrote:

Mike

In the mean time is the only way to keep a fresh sync state is to call SyncFolderItems() on every notification event and pass the item ids from the notifications to ignore? That's the current idea I'm messing with. Because if you call for example SyncFolderItems() every hour then you may receive ItemId's that you've already received notifications for.

Reply

On 2/24/2012 5:59:06 PM sumair wrote:

sumair

Hi,

Quick question:
I reused the code, can see the new email being created {Console.Out.WriteLine("ChangeType = {0}", itemChange.ChangeType + DateTime.Now.ToShortTimeString());}

but can't see the OnNotificationEvent(object sender,  NotificationEventArgs args) function being called


kindly let me know what am I missing here....

thanks,
Sumair

Reply

 +Pingbacks and trackbacks (1)

Add comment

biuquote
  • Comment
  • Preview
Loading