Why can't the client talk directly (!) To the WCF server and not use the proxy class that does this?

I am currently learning the basics of WCF, and I came across the following thread:

enter image description here

The value that my client must speak with the Proxy class that interacts with the WCF server.

Why can't I (the client) talk directly to the server, and not use a third party to work?

+4
source share
2 answers

- # WCF WCF, , , raw TCP/HTTP/pipe/MSMQ. - , " ".

?

WCF , . "". , . " ", COM.

- " " WCF. DCOM , WCF, . , , ! WCF, , SOAP ( ) DCOM, . SOAP-. , Windows , DCOM , , .

:

  • ( SOAP)

  • , . .. TCP; HTTP; API- MSMQ .. , WCF TCP ? , .

  • #

  • ; ; cookies .

WCF WCF?

, :

(!) WCF, -, ?

... , WCF API- comms API; SOAP-, , WCF WCF WCF.

TCP raw; MSMQ; HTTP; API- , WCF (, WCF ) SOAP- (, , REST). , IRequestChannel Request(), , - WCF ( ). , MSMQ WCF- WCF-client-proxy-using-app, , MSMQ. WCF.

, , WCF, , "WCF" , WCF; SOAP - XML, TCP, , , , , , .

  • WCF - - WCF ( , , SOAP)

  • -, SOAP, API-, SOAP

-?

, -, , , , , , JSON, async, --- -.

" ", WCF " ", , .


- ; - The Hitchhiker Guide to the Galaxy. ?

+5

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

+1

Source: https://habr.com/ru/post/1613931/


All Articles