Simple Introduction to WCF Technology

Source: Internet
Author: User

WCF technology has been used in recent work , and over time, the benefits of WCF have been slowly realized , so WCF What the hell is that? Why use WCF? What are the characteristics of WCF? Let's summarize these questions briefly.

WCF What the hell is that? To be clear about this problem, we need to introduce the distribution first. Assuming that we have already written a web Server, and that it has already been published, the client needs to call this server, and the client has more than one, as shown in the actual data exchange model:

It can be seen that in the case of only one server, the traffic and data exchange pressure on the server is very Large, and the service side is faced with many years of problems such as high traffic, concurrency, etc. , every data exchange, there is only one server to participate, so the client does not have these problems, in this case, we can also make the service end of multiple services? This is distributed, see data exchange after using distributed technology:

          WCF as a distributed solution, it solves the problem of high concurrency on the server side, But it also brings other problems, here we do not discuss its additional issues, only discuss WCF

WCF, also known as Windows Communication development Platform, it is a service-oriented software development technology, in the actual development process , we need to develop the interface on the server side, the client is configured to use the server interface to provide services. multiple interfaces can be developed on the server side to solve the problems we start with , using multiple service ports to reduce high traffic and concurrency problems. The implementation is as follows:

Not using WCF


After the use of WCF

In contrast, after using WCF, the data received and emitted by the server is greatly reduced.

           after the server is released, how the client knows the server and communicates the data isABCfunction of the. a,addressis the address of the service provided by the server;B,Binding,the underlying protocol required for client-side data exchange at the server;C,contract,service contract, which is the specific service provided by the server. Server and client-sidea\b\ccorresponding to each other, you can achieve communication.

          The service side writes the interface is need to publish, only publishes, the client can call, So what are the ways to publish on the server? iis , windows service, com+ Program, console program and so on.

WCF fused with , NETFramework provides a variety of communication methods, gives us more connectivity features, helps to solve Web connectivity issues in application development.

Simple Introduction to WCF Technology

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.