Print Page | Close Window

push notifications

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=2905
Printed Date: 13-May-2026 at 9:25pm


Topic: push notifications
Posted By: danjal
Subject: push notifications
Date Posted: 18-Aug-2011 at 4:38am

Our Silverlight application uses DevForce 6.1.1.1

 

We use remote server method calls (RSMC) for some of our data retrieval.

 

We also use push notifications for some scenarios in our application.

We had some problems with push notifications (time outs), but these where solved by switching communications from the browser stack to the client stack – and everything was fine.

 

Now we have gone over to use ASP.NET security in our application and switched communications back to browser stack, because we cannot use ASP.NET security when using the client stack.

It was thought that the initial problem with push notification time outs had something to do with IE8 – so we started using Firefox, but we still see time outs.

 

When using our current setup (ASP.NET security, Firefox, push notification (browser stack)), we see that our RSMC´s become VERY SLOW and time outs from NotificationServiceManager.

 

How do we solve this problem?

Is the problem browser based? Or Silverlight based? Or DevForce based?




Replies:
Posted By: sbelini
Date Posted: 22-Aug-2011 at 9:47am
Hi danjal,
 
I've seem you had similar problem in the past ( http://www.ideablade.com/forum/forum_posts.asp?TID=2334 - http://www.ideablade.com/forum/forum_posts.asp?TID=2334 ).
 
Have you tried the other suggestion (using "SingleMessagePerPoll") given by kimj?
 
Silvio.


Posted By: danjal
Date Posted: 07-Sep-2011 at 1:44pm
Hi Silvio,
 

I have looked into SingleMessagePerPoll, pasted kimj suggestion into our web.config, but get errors “no endpoint listening…”

And what is ServiceReferences.ClientConfig?

Not sure how to set this up. Do you have any working sample?

If I should make SingleMessagePerPoll to work, would it have any effect on DevForce and its querying stuff?
 
I can not find the old article on push notification. Where is it?
http://drc.ideablade.com/xwiki/bin/view/Documentation/Documentation_Code_PushNotification - http://drc.ideablade.com/xwiki/bin/view/Documentation/Documentation_Code_PushNotification


Posted By: sbelini
Date Posted: 08-Sep-2011 at 11:06am
Hi danjal,

The new link to the push notification article is  http://drc.ideablade.com/xwiki/bin/view/Documentation/push-notification - http://drc.ideablade.com/xwiki/bin/view/Documentation/push-notification .

I am working on a sample and will post soon.

Silvio.


Posted By: sbelini
Date Posted: 08-Sep-2011 at 7:24pm
Hi danjal, 

You can download the sample http://ideablade.com/friends/Silverlight_Push.zip - here . 

The ServiceReferences.ClientConfig file is the file you should include in your client project. (detailed instructions included in the file itself in the sample) 
That's most likely the reason you were getting the "no endpoint..." error message. (i.e. not having added the file above)

Regards,
   Silvio.



Print Page | Close Window