Questions tagged [duplex-channel]
47 questions
2
votes
0 answers
ServiceModel.DuplexClientBase missing in .net portable subset
I've tried to make a wcf service referecne to a net.tcp duplex from a portable class library (VS2012). The generated code refers to some classes of System.ServiceModel wich are not included in the .net portable subset (for eg:…
2
votes
1 answer
Duplex channel Faulted event does not rise on second connection attempt
I have regular net.tcp WCF service client, and regular net.tcp duplex (i.e. with a callback) WCF service client. I have implemented some logic to constantly reinstantiate the connection in case a service has faulted.
They are created in the exactly…

Vasyl Boroviak
- 5,959
- 5
- 51
- 70
2
votes
2 answers
TimeoutException in WCF after multiple calls
Maybe I am implementing WCF improperly, but I seem to be getting a WCF exception while using NetNamedPipedBindings after making numerous calls.
Here is the high level of what I am doing. Basically, I am working on an out of proc exe and using WCF…

Justin Pihony
- 66,056
- 18
- 147
- 180
1
vote
2 answers
wsDualHttpBinding not working outside network with WPF Client
I was trying to implement a DuplexCommunication between WPF and WCF, the communication is working good when test internally, with in the network, when we tried to access this outside network after publishing it outside, we are able to access the…

Vijay Narayan
- 263
- 1
- 4
- 6
1
vote
0 answers
Can a duplex WCF channel service requests from both ends simultaneously?
A Client application is connecting to a Server application using a duplex WCF channel. Possible transport protocols for this channel are either Named Pipes or TCP.
The duplex channel allows the Server application to take the initiative and request…

BlueStrat
- 2,202
- 17
- 27
1
vote
1 answer
WCF Duplex service with dynamic hosts/clients
I am fairly new to WCF so please bear with me if I'm not asking very clearly.
I have an environment where I have a group of computers (10 to 20) connected within a LAN. Each computer has a static IP, and comes with 2 applications: AppA and…

Jai
- 8,165
- 2
- 21
- 52
1
vote
1 answer
WCF netTcpBinding issue: Contract requires Duplex, but Binding 'BasicHttpBinding' doesn't support it or isn't configured properly to support it
I'm trying to create a callback in WCF service. Service so far was using basicHttpBinding, so I want to add another end point for netTcpBinding. Service is already hosted in IIS. First It was hosted in IIS 6, but then I installed IIS 7.
So, I'm…

delux
- 1,694
- 10
- 33
- 64
1
vote
0 answers
Can't get WCF Duplex ChannelFactory to fault properly
Given a valid Binding and EndpointAddress, I have a WCF Duplex ChannelFactory like so:
NetTcpBinding svcBinding = new NetTcpBinding();
svcBinding.ReliableSession.Enabled = true;
EndpointAddress svcEndpointAddress = new EndpointAddress(new…

user3685285
- 6,066
- 13
- 54
- 95
1
vote
1 answer
How io invoke member if member has callback implementation
I have a service object which has method having callback implementation mentioned below
public string GetMacName()
{
string value = System.Environment.MachineName.ToString();
msgCallback =…

Shabana
- 69
- 6
1
vote
0 answers
Does UseSynchronizationContext=false mean I have to be thread safe?
This is about a WCF duplex service with NetTcpBinding.
I just added the UseSynchronizationContext=false parameter to my ServiceBehavior attribute which stops things freezing up when calling Close() on the callback channel on the service…

Freddy Flares
- 91
- 7
1
vote
1 answer
DuplexChannelFactory < Reflection Interface >
Using TypeGenerator Class
public class TypeGenerator
{
///
/// internal cache for already generated types
///
private static Dictionary asyncTypeCache = new Dictionary

Ahmed Ghoneim
- 6,834
- 9
- 49
- 79
0
votes
2 answers
WCF cross-domain duplex: your Thawtes
(Ha! see what I did there?)
I have a system whereby a server pushes information from a central DB out to many client DBs (cross-domain via internet), and periodically they call services on the server. This has to withstand intermittent connections,…

SteveCav
- 6,649
- 1
- 50
- 52
0
votes
2 answers
Unity can't resolve type, when resolving in a different module
I'm currently working on a PRISM app with the unity container and a WCF service.
In the module(with the WCF proxy) I register a ChannelFactory for the WCF client as follows:
InstanceContext instanceContext = new InstanceContext(new…

Juergen
- 3,489
- 6
- 35
- 59
0
votes
1 answer
Duplex channel WCF from DMZ to Intranet
We are running an dual channel service inside the domain.
We have a TCP binding on port 20120 and a HTTP binding on port 20121.
In the DMZ (web), we want to access this WCF service.
Firewall seems to be open from the web to the service.
Using…

esskar
- 10,638
- 3
- 36
- 57
0
votes
1 answer
Migrating WCF service to CoreWCF, Client couldn't communicate with Hosted Service
I'm working on migrating WCF services to CoreWCF. In the service side I can able to host the service by using WebApplicationBuilder (Microsoft.AspNetCore.Builder).
But the client side when I'm trying to connect with service getting following…

M.Dineshkumar
- 13
- 2
- 4