Questions tagged [duplex-channel]

47 questions
0
votes
1 answer

How can I change message in DuplexSessionChannel (tcpTransport) in WCF custom channel?

I implement IDuplexSessionChannel on my Custom Channel because I use tcpTransport. In that custom channel, I cache service call response(client side caching). But it has errors. In IRequestChannel it works fine. How can I change message in…
Sinan Oran
  • 49
  • 2
  • 9
0
votes
1 answer

WCF server with .net 4.7 and client with .net 6.0 - protocol error

I currently try to extend a WCF windows only program to make it viable on Linux. Therefore, I need to port the WCF backend communication to .net 6.0. I establish a server connection like this: public static IService Connect(ServerCredential…
0
votes
1 answer

Push message from wcf service to Windows Universal App

I have a wcf service hosted on windows service. WinForm and aspnet site get information from this service. I created Uwp app and connected it to the same service. Uwp can send requests to the service and receive back data. Problem is when service…
0
votes
0 answers

WCF- Custom username-password authentication for NETTCP duplex service in Console host

I was searching about an example of custom userName/Password authentication for nettcp binding in wcf service and host it on a console application but I couldn't find anything. so I stated to write an example for myself. I got this example and…
0
votes
1 answer

WCF NetTcp duplex channel independent communication

I want to create a duplex NetTcp service. I am not sure what is the best approach. I have a client that periodically sends it's status to the server and I have a server that has to send periodically data that is independent of any client request.…
Franki1986
  • 1,320
  • 1
  • 15
  • 40
0
votes
1 answer

WCF duplex channel for inter-process communication

I have system like this: Windows service (WCF, data/events) <-> Web app <-> Web client I need simultaneous response for clients requests. I have some events from service for clients too. So duplex channel is the way to go. But I need high…
Fanda
  • 3,760
  • 5
  • 37
  • 56
0
votes
1 answer

WCF service interface exchange

I want to avoid the duplex Chanel in WCF and create callback service on client, pass the client address to server so the server can call the client any time. (maybe different binding etc.) How can I pass the callback interface to the client? (I…
Adiel
  • 331
  • 1
  • 4
  • 10
0
votes
0 answers

Duplex WCF net.tcp service disposed object exception for my client

I implemented a client-server application for chatting with WCF. And i have a callback for broadcasting. It was working properly until i changed some functions. I was using my dataset fix data. It was initialized on my server and was used. I…
golazo
  • 317
  • 5
  • 15
0
votes
2 answers

Duplex messaging or Azure Queue Service

All , We have a requirement to develop a azure based platform, in which the user can configure multiple pharmaceutical instruments, start measurements on them and analyze the measured data. The typical components in the azure based platform will be…
Sabarish Sathasivan
  • 1,196
  • 2
  • 19
  • 42
0
votes
1 answer

Ninject: Bind ServiceHost instance for use with WCF duplex service

I'm working on a WCF service that uses a duplex channel to allow the service to call back to the client to relay an event raised by a component in the service layer. The proxy class is defined and constructed like this: public class…
Paul Taylor
  • 5,651
  • 5
  • 44
  • 68
0
votes
1 answer

Large data transfer using wsDualHttpbinding fails

I'm trying to send data of size greater than 25 MB to multiple clients at the same time using callbacks. I have implemented the service with wsdualhttp binding. It throws "System.OutofMemory" and "Failed to allocate memory" exceptions when the…
0
votes
1 answer

WCF net.tcp service on IIS issue

I'm working on a client-server project in which clients are deployed over the internet. All the services are written in WCF and use wsHttpBinding. I need to implement a client callback functionality, and since the clients are behind firewalls and…
user2872534
  • 163
  • 1
  • 10
0
votes
1 answer

What should I pass to duplex WCF client instance context

Here is a generated proxy for my duplex WCF service: public partial class MyWcfServiceClient : System.ServiceModel.DuplexClientBase, Ifa.WcfClients.ServiceReference1.IMyWcfService { public…
r.zarei
  • 1,261
  • 15
  • 35
0
votes
1 answer

Duplex channel callback calls method that throws exception. Where does the execption go?

And how can I present it to the user? This post : WCF Duplex: How to handle thrown exception in duplex Callback is very close to my scenario. And this post is useful for helping me re-establish the connection when the channel is faulted. I have a…
KarlZ
  • 170
  • 9
0
votes
2 answers

WCF DuplexChannel - Connection Without Callback

I have a WCF Interface which has defined a Callback. This is working very well. Now I have another Client which don't need the callback. I wanted to know if there is a way to connect to the service also without specifying a callback object? I tried…
Jochen Kühner
  • 1,385
  • 2
  • 18
  • 43