WCF and ASP.NET: Duplex Support Using AJAX

I know that the WSDualHttpBinding, NetTcpBinding and NetPeerTcpBinding bindings support duplex / callback maintenance operations.

I cannot find anywhere on the Internet, even if someone asks if duplex is supported for ajax calls. Perhaps the reason for my inability to find anything on this is because I completely misunderstand some key WCF concept that puts the question in the dumbest question ...

I know that binding webHttpBinding along with <enableWebScript/>aligns the js needed for the client side of proxy objects.

Is it really impossible, because duplex services need callbackservice services, and there is no way to do this on the client side? (If that makes sense ..)

My application is
layered as follows: 1. WebSite1 - ajax calls for WebSite1.MyClientService.
2. WebSite1.MyClientService - WCF A stand-alone service that references the MyServiceProxies DLL.
3. MyServiceProxies DLL - custom proxies (automatically generated proxies used instead of "Add service link") that inherit from ClientBase. This simply delegates the actual service calls to base.Channel.OperationName () in [MyService: IMyService in WinService WCF Host EXE].
4. WinService WCF Host EXE - it works as a Windows service, as monophonic, allowing multi-threaded calls. Calls from WebSite1 request in-memory values ​​stored in this singleton mode. This singleton will ultimately transfer all the data stored in memory to the database through a separate data layer.

WinService is configured to use duplex calls through net.tcp. WinService will run on the same computer as the IIS WebSite1 application.

+2
source share
1 answer

- , - ajax. , - , WCF, ...

, , , AJAX , WCF.

AJAX. , . /, , , , . .

? . , - , - , , ?

, JavaScript.

+2

All Articles