I have a WPF application which communicates with a WCF service which provides data that is updated by WPF application on its UI on continues basis. The Service is hosted on netTCP. Now, if for some reason the WCF app loses its LAN connection and after a few seconds the connection is established again, the WPF app is not able to resume its connection with the service.
Any help is welcomed.
You could make a socket on the WPF client, which will accept a connection from the service, then if the service is back online again it sends a data packet to everyone in the collection currently connected, then if the client recieves a packet it requests a connection with the service again, which will "resume" the connection
Related
I have created a SOAP Server Application on Delphi XE8.
I used it as a ISAPI SOAP service, with interface and implementation files.
I deployed this service on IIS, and called it's functions from a VCL client.
I am now trying to make a new function on the SOAP service that communicates with a MSSQL database on the SQL server.
But every time i create a new Data module on the SOAP server, the service stops working.
Can anyone please tell me how to make a database layer, then connect my SOAP service to it, to be able to call from other clients.
Note : I am creating ISAPI.dll
Thanks.
We have a load balanced webserver setup and we therefore want to use SignalR for client/server communication with a SignalR backplane.
How can we make sure that only one server writes to the database when a client sends something to the server? The backplane will re-route the message to all servers, but not all servers can write the same thing to the DB!
Any techniques/suggestions for how I can both use the SignalR backplane and only write to DB from one server?
In my ideal world I would receive the message on one server, store message to DB and then put a message (maybe not the same as the incoming message) on to the backplane.
The SignalR backplane only forwards messages sent from the server to client to all servers. This is done so SignalR can ensure messages will get to their intended client(s) even if they are connected to another server.
When a SignalR client invokes a Hub method, the Hub method is only invoked on one server even if there are multiple SignalR servers behind a load balancer communicating via a backplane.
I create a wpf cient app which sometimes need to connect server to send or requset data. But if connection timeout or server is busy, then I click the wpf client ui in win7, it will crash.
How can do?
Is there a way to send message or http request or send notification when SQL Azure data changes or when new data is inserted? I would like to send message/ http request/ notification to a non .NET web application. I have done that invoke an application of Tomcat server by send a http request from local SQL server when there is data change, but I can't with SQL Azure.
Can any one help me to solve this problem?
I hope it is ok to talk about our own Cotega service. IF you are interested in a finished solution for this, we are just finishing off the work to allow people to send Email and SMS notifications messages based on changes within their SQL Azure database so it would be interesting to see if we could extend this to suit your needs to call a .NET web app. Feel free to contact me from here if you are interested.
Does SQL Server Service Broker have an ability to communicate with a WCF service? I wanna create a Service Broker service which will send some xml message to WCF service for processing. Of course SQL Server instance and WCF service are deployed on different machines. Is it possible to somehow configure SB service to achieve such goal?
No. SSB can only communicate with another SSB instance. There is a WCF SSB channel but that is using SSB as a transport channel to a WCF service, the WCF service requires a local SQL Server for this channel to work (it can be SQL Express instance).