Why do we use WCF to explain the benefits of using WCF? The benefits of WCF are that it supports both interoperable web services and WCF, while making service-oriented programming simpler and more unified.
AD:
Why should we use WCF for so many development languages? What's better about it and other technologies? I am using the WCF technology now. Here I will analyze the benefits of WCF. On Windows platforms, especially on the. NET platform, developing service-oriented applications or developing distributed systems, the best choice is WCF. Why?
- About the heavy load Technology of WCF
- Thoughts on transferring from winform to WCF
- Implement project analysis using WCF and extjs
- What is WCF
- Graphic demonstration of the running process of the WCF Architecture
The reason is that WCF covers all the technologies released by Microsoft for distributed development, including remoting, web services, WSE, and MSMQ, and is implemented in a unified programming mode. Benefits of WCF: it supports both interoperable web services and implementations.. Net client and. the communication between the net server and the distributed transaction is supported. In terms of security, it fully complies with the WS-* standard. In addition, it also supports the queue service, it is very convenient to use message queues for asynchronous operations and offline calls. These functions are only partially implemented in the past. See the following table:
Features |
Web Service |
. Net remoting |
Enterprise Services |
WSe |
MSMQ |
WCF |
Web services with interoperability |
Supported |
|
|
|
|
Supported |
. Net to. Net Communication |
|
Supported |
|
|
|
Supported |
Distributed transactions |
|
|
Supported |
|
|
Supported |
WS standards supported |
|
|
|
Supported |
|
Supported |
Message Queue |
|
|
|
|
Supported |
Supported |
Benefits of WCF: it also makes Service-Oriented Programming simpler and more unified. If the old technology is used, the program migration is very difficult because the programming models of various technologies are completely inconsistent. For example, a distributed system originally developed using the. NET remoting technology needs to be redefined to release web services with interoperability due to changes in business requirements. In addition, the call method of the client has also changed. You need to add web references to discover services through UDDI.
Otherwise, use WCF. WCF introduces a channel that encapsulates the communication details of messages, such as encoding, transaction processing, and security. Then, it introduces the concept of binding, encapsulates the composition sequence and processing details of the channel. Finally, a unique endpoint element is introduced, which integrates the "three in one" between addresses, bindings, and contracts to define and publish services in the simplest way.