Questions tagged [wcf-callbacks]
71 questions
6
votes
1 answer
Duplex callback is always anonymous
I've written a WCF duplex service and client. Everything works well until I try to call .Demand() in the client implementation. It appears that the the service invokes the callback method Anonymously. I think I am missing how to correctly…
Peter
5
votes
1 answer
Recover Callback channel after CommunicationObjectAbortedException thrown
We have (Multiple)Clients-(One)Server architecture for poker desktop game. We are using callback Notifications using callback Channels.
But sometimes because of internet connection drops, that particualr client gets disconected from server and that…

KomalJariwala
- 1,977
- 3
- 23
- 32
5
votes
2 answers
WCF Callback Service with netTcp Binding timeout after 10 mins
I'm creating a chat application with WCF(using callback contract) and netTcpBinding.
I'm hosting the service as a windows service and accessing it from other computers
via the client application.
The problem that i'm facing now is the clients…

user501579
- 251
- 1
- 8
- 14
5
votes
2 answers
How can I send a notification message from server to all clients in WCF (broadcast you can say)?
I want to send notification message every second from net tcp WCF service to all clients,
Broadcast you can say?
After the helpful answers
I wrote the following method that will send notifications (heartbeat) to all connected users
foreach…

Ahmed
- 7,148
- 12
- 57
- 96
4
votes
2 answers
CallBack in WCF?
How we use CallBack in WCF fluently with events and delegates?
If Client give any request or any conditions matches of client then services automatically fire the event which condition or request given from client.
how is it possible?

anjum
- 2,363
- 6
- 28
- 25
3
votes
0 answers
How to push data from a subscriber in a WCF service to another console application?
I have written a WCF service application and a class library (Logger.dll). I have written the code using a publish - subscribe pattern.
In the class library, pushing data as by publishing using delegates and events. And it is getting the data by…

Michael
- 43
- 6
3
votes
0 answers
How to receive duplex callback from WCF service to WebApi in ASP.NET core application?
I am trying to receive duplex callback from WCF service into my web api action. But somehow this is not working. I am not able to get the callback in web api.
If I use console application instead of asp.net core application then console application…

439
- 720
- 2
- 7
- 14
3
votes
1 answer
Error handling with Javascript-enabled WCF?
Is there documentation on how to use the callback functions in a WCF Service that is exposed to Javascript? I'm interested in getting information from the FailureCallback as to why my method isn't firing.
In other words I have the follwoing…

makerofthings7
- 60,103
- 53
- 215
- 448
3
votes
0 answers
Strange Deadlock on WCF Service callback call
I have a deadlock problem on a WCF service and I cannot understand why since every calls are synchronized on the same lock.
Here is my client / service configuration.
binding="netTcpBinding"
Service Config : ServiceBehavior(InstanceContextMode =…

Nordine Niched
- 31
- 2
3
votes
1 answer
C# WCF multiple clients
I have made a WCF service that make changes to SQL database.
There is one client connected, that have one listbox showing data from that database.
Also, in the client app, there is one textbox and one button. With button click, string from textbox…

user3239349
- 877
- 1
- 12
- 33
3
votes
0 answers
Thread.CurrentPrincipal is not persisted in WCF client callback
I have a duplex WCF service over netTcpBinding, the service uses subscription model where clients
would subscribe to the service with a callback implementation using Subscribe/Unsubscribe methods.
The service has a custom IAuthorizationPolicy which…

Mustapha Elmalah
- 116
- 1
- 7
3
votes
0 answers
Access WCF Callback Service form Android (Bidirectional channel between WCF & Android)
I am using my WCF service from Android by making my service RESTFUL and using basicHttpBinding. My question is: Is it possible for android client (or any non microsoft client) to call a WCF service that implements callback? If not, any idea that can…

Mohamed Al-Hosary
- 488
- 8
- 25
3
votes
2 answers
WCF architecture so I can work with callbacks and authenticate against an AD
Sorry for the long title.
This one is about WCF configuration and security. I have the following scenario:
one server (IIS)
N clients (WPF applications)
web services to communicate between clients and the server
everything is in the same LAN and…

ken2k
- 48,145
- 10
- 116
- 176
3
votes
1 answer
invoke callback during the execution of a contract operation
I am programming a WCF service on Azure.
In my Service, I need to invoke callback during the execution of a contract operation. When I attempt to do that, an exception will throw and the client will locked. I think it is caused by that the channel…

Paul Zhou
- 193
- 2
- 12
2
votes
1 answer
WCF - client callback recommended?
I have one WCF service that exposes two operations - IncrementList() and GetList(). Client B connects to the service, calls GetList() and displays to the user. Client A has the ability to update this list by calling IncrementList().
I want Client B…

Gus Cavalcanti
- 10,527
- 23
- 71
- 104