The text of this article is not in this database — only its details are. Read it on the old site: HTTP Duplex messaging in Silverlight 4
4 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: HTTP Duplex messaging in Silverlight 4
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
MA GEeditedPosted Jan 23, 2013, 7:38 AMEdited Jan 23, 2013, 8:07 AM
@sean The value maxOutputDelay="00:00:07" -> set 7 seconds of delay time before the service begin to respond and deque all the message that it has been collected. The maxOutputDelay is the time between the last outgoing server-to-client application message and the HTTP response being closed; it’s reset with each new outgoing message being dequeued. Closing the response ensures that all messages are flushed and no message will take longer than MaxOutputDelay to be delivered to the client. Bound to the client dispatcher. The default value is 200 msec
sean freemanPosted Nov 1, 2012, 11:02 PM
Why is it slwoer? it's pretty slow even on local machine. how can this be faster on internet. :D it's taking atleast 9 seconds to deliver the messege.
Preeti BangPosted May 23, 2012, 5:50 AM
How to use this app on multiple machines?
EmmanuelPosted Oct 12, 2010, 6:31 PM
when clicking on Send I get this execption. I've open your solution directly under VS2010 and it fails here [OperationContract] public void PublishMessage(string message) { foreach (IChatClient channel in clients) { channel.NotifyClient(message); } } System.ServiceModel.CommunicationObjectAbortedException was unhandled by user code Message=The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it has been Aborted. Source=mscorlib StackTrace: Server stack trace: at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrNotOpen() at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at HTTPDuplexMessaging.Web.IChatClient.NotifyClient(String message) at HTTPDuplexMessaging.Web.ChatService.PublishMessage(String message) in G:\Downloads\Chrome\HTTPDuplexMessaging\HTTPDuplexMessaging.Web\ChatService.svc.cs:line 28 at SyncInvokePublishMessage(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) InnerException: