Socket, WebServices, remoting, WCF

Source: Internet
Author: User

Socket is a legacy Transmission Based on TCP/IP, mainly listen, send, receive

Starting from WebServices and remoting, We can customize methods for data transmission. WebServices can generate proxy classes, while remoting is more convenient. The server and client can use an object to solve the problem, in fact, it feels like a dynamically generated proxy class (but its core is remote object copy and remote object copy)

WCF is also a great achievement in integrating these communications. Custom methods and proxies are certainly not lost.

Core:Article)

 

 

The WCF Service depends on a running process (host). The service host specifies a host for the service. WCF is a message-based communication framework that uses an endpoint-based communication method. The endpoint consists of address, binding, and contract. For exampleFigure 3. Since the three elements should be the first letter ABC, there is an easy-to-remember formula: endpoint = ABC. An end contains all the information necessary for communication. We can understand the ABC of the end point as follows:

    • Address (Address):The address determines the location of the service and solves the service addressing problem. Chapter 2nd of WCF technical analysis (Volume 1) provides a detailed introduction to the address and addressing mechanism;
    • BIND (Binding):Binding implements all the details of communication, including network transmission, message encoding, and other processing of messages to implement certain functions (such as secure, reliable transmission, transactions, etc. In WCF, there are a series of system definition bindings, such as basichttpbinding, wshttpbinding, and nettcpbinding. In chapter 3rd of WCF technical analysis (Volume 1), we provide a detailed introduction to binding;
    • Contract (Contract):A contract is an abstraction of service operations and a definition of the message exchange mode and message structure. Chapter 4th of WCF Technology Analysis (Volume 1) provides a detailed introduction to the service contract.
    •  

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.