duplex

WCF & ASP.NET: Duplex Support using AJAX.

I know that WSDualHttpBinding, NetTcpBinding, and NetPeerTcpBinding bindings all support duplex/callback service operations. I can't find anywhere on the internet anyone even asking if duplex is somehow supported for ajax calls. Maybe the reason for my inability to find anything on this is because I am completely misunderstanding some k...

Error message with WCF WSDualHttpBinding: Unable to automatically debug service

I'm currently working on a solution which needs to use both Silverlight 3.0 and standard .NET applications as clients to a web service implemented with WCF. The portions of the web service consumed by the Silverlight client need duplex functionality, so I'm using the (still fairly new) PollingDuplexBindingElement on one end point of my ...

Are WCF polling duplex services usable by other clients?

I'm writing a server app with a silverlight client. At some point I'd like non-silverlight clients to be able to use my services. Right now I've written some WCF services which get polled, but I'm not happy with the responsiveness. I'm thinking of switching the code over to using Silverlight/WCF duplex polling, but if I do that, will I b...

Duplex WCF service hangs on 11th call

I've got a duplex WCF service which hangs after the magic 10 proxy instantiations. The specific error on the client is: "System.TimeoutException: This request operation sent to net.tcp://localhost:8080/RoomService/netTcp did not receive a reply within the configured timeout (00:00:59.9960000)". There aren't any apparent error messag...

Duplex Postscript - Force new page

Is there an easy way to force a postscript page onto a new physical page without inserting a blank page? e.g. Say I have a PS document with 10 postscript pages, which needs to print into different document bundles : 1 - Physical Page 1 Front Side 2 - Physical Page 1 Rear Side 3 - Physical Page 2 4 - Physical Page 3 Front Side 5 - P...

WCF test tool that supports Duplex scenarios?

Does anyone know of a tool that supports callbacks? ...

WCF Duplex Communications in a clustered environment

So I was looking at the sample examples people have created for Duplex Communications namely when hosted by IIS and connected to via Silverlight. There are plenty of examples of this out there (this MSDN article is great), but all use the same paradigm: User A connects to server A, it puts him in an in-memory list to receive future upd...

What is the best way to design big WCF Duplex Services with a Silverlight application?

Hello, I am currently working on a silverlight application, more precisely a game, that has 2 states : Lobby and Game. I created my service application to reflect that structure. I created a LobbyService to handle all lobby related operations and a GameService to handle all actual game operations. On top of that, I have a third service...

Why WCF doesn't automatically affect the To header on outgoing message with the ReplyTo of the incoming message ?

I have a service which send a message with the ReplyTo header set to a return address. I thought that : OperationContext.Current.GetCallbackChannel<IHelloCallback>().RespondHello("tomi"); will automatically invoke my client, but I receive this exception : For sending a message on server side composite duplex channels, the messag...

Can I use WCF duplex binding to relay message?

I have a Client Application, a server and another client, lets call it third party. I have a callback interface as part of my contract that is implemented both by the third party and the client. The third party will call a server operation(method) then the server will trigger a callback but instead of calling the callback of the third ...

silverlight disconnect from wcf duplex after 10 connections

hello to all I have develop a silverlight chat application. In a single window load more than one chat windows at same time and every chat windo create a new connection to wcf duplex service. But after every 10 chat windows it disconnect from wcf and work stuck off. Im code some for throttling option but they don't work. this is my code...

WCF two way HTTP communication to bypass firewalls

Hello everyone, I want to use WCF to enable two way communication without opening a port on the client. I'm developing something like a P2P application (similar to teamviewer/logmein) where you don't need to open ports to communicate. How do I accomplish two way communication through HTTP/HTTPS without the need to open a port in the c...

How to be notified if WCF Duplex session is prematurely closed

I have a publish/subscribe scenario in WCF using net.tcp and Duplex callbacks. I have a number of clients that subscribe to the service, and this works fine. However, sometimes a client will close without unsubsribing (Client computer goes to sleep, computer crashes, network connection is aborted, etc..), this causes an exception to be...

wcf pollingduplex connection limit in silverlight 3.0

Hi I have build a silverlight application for message service. my problem is silverlight application disconnect after 10 connection. But i want it unlimited or thousands. I have spent a lot of time on this problem. some point about my application as: I have build 3 prject like silverlight project, web project, wcf service project. Im...

Detecting Client Death in WCF Duplex Contracts.

I'm trying to build a SOA where clients can perform long running queries on the server and the server responds using a callback. I'd like to be able to detect if the client disconnects (through user initiated shutdown, unhandled exception or loss of network connectivity) so that the server can choose to cancel the expensive request. I...

Returning database view data using wcf service and binding results in WPF

Hello, Here's what I want to achieve: Have a wpf system tray application or a vista gadget that will show me live data from a database view. I need to use a WCF service to retrieve the data. The data in the underlying tables will be changing frequently but I can do without upto the second updates in the client (if I have to). How do y...

consume a wcf duplex service in windows form

I have a wcf duplex service with work fine in silverlight. but the same service want to consume in windows forms. how it possible. my code as folow:- EndpointAddress address; address = new EndpointAddress("http://server08:2508/JakayaChatService"); CustomBinding binding = new CustomBinding( new Pol...

How to create simple C# full-duplex TCP/IP stream socket connection?

How to create simple C# full-duplex TCP/IP stream socket connection? What do I need? I need - Open Source Libs Tutorials Blog posts/Articles ...

Duplex WCF + Static Collection of COM objects

I am trying to build a WCF service that exposes the functionality of a particular COM object that I do not have the original source for. I am using duplex binding so that each client has their own instance as there are events tied to each particular instance which are delivered through a callback (IAgent). It appears there is a deadloc...

WCF duplex channel gets closed when using callbacks

My WCF service uses netTcpBinding, and has a callback object. I need to service multiple concurrent clients, and mantain sessions, so the service is decorated with [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession, ConcurrencyMode = ConcurrencyMode.Multiple] To avoid thread deadlocks, the callback class is decorated...