Windows Communication foundation_1 Overview

Source: Internet
Author: User

  1. Introduced

    WCF is a flexible communication technology provided by the. NET Framework. Prior to. NET 3, several communication technologies were needed in a single enterprise solution. To implement platform-independent communication, ASP. NET Web services are being used because Web services have a greater advantage-reliability, security, and the basic transaction-web service has been enhanced by adding a complex layer to the ASP. If the communication needs to be faster. NET application client and server use. NET Remoting is one of their technology choices.

  2. . NET Enterprise Services for automatic automatic transaction support, this approach is faster than. NET Remoting by using the DCOM protocol by default. DCOM is just a protocol that allows processing. All of these technologies have different programming models, which requires developers to know more skills.

  3. The. NET Framework 3.0 incorporates a new communication technology that integrates all previous technologies into one development model: Windows Communication FOUNDATION.WCF from ASP. Net Remoting, Message queuing,enterprise Services integrated.

    WCF includes the following features:

    1. Hosting for components and services

As if you could use a custom host to use. NET Remoting and Web Service Enhancements (WSE), you can open a WCF service at the ASP. Windows Service, COM + process, or apply peer computing in Windows Forms apps.

B.declarative behavior

You do not need to derive from a base class (this requires the existence of a use.) NET Remoting and Enterprise Services), attributes can be used to define services. This is

Similar to ASP. NET Web Service development.

C.communication Channels

Although. NET Remoting flexibility to change the communication channel, WCF is a good choice because it provides the same flexibility. WCF provides a variety of channel communication, using HTTP,TCP, or IPC channels. Protocols can be created better by using different transports to customize the channel.

D.security Infrastructure

To implement platform-independent web services, standardization must use a secure environment. This standard is implemented with WSE3 and WCF continues this standard.

E.extensibility

. NET remoting is rich in scalability. It can not only create custom channels, format, and proxies, but also support message flow injection capabilities on client servers. WCF provides similar extensibility, however, where the extension is used by the SOAP header.

F.support of previous Technologies

Instead of rewriting a fully-used WCF distributed solution, WCF can integrate with existing technologies. WCF provides a channel that can communicate using DCOM serviced components. Developed ASP. NET Web services can also be combined with WCF.

<!--the ultimate goal is to enable both client and server-side processes to send and receive messages, whether under different systems, localized networks, or on the Internet. The platform-agnostic approach makes it possible to accelerate communication claims. The server provides a protocol, binding, and endpoint of the address. This protocol declares that the operation is provided by the servers, that the binding is given information about the protocol and the encoding, that the address is the address of a localized service, and that the client needs a parallelized endpoint to access the service. As shown in the:-->

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4D/79/wKiom1RR4e7AnHLFAAA91h9f6dI682.jpg "title=" 1.PNG " alt= "Wkiom1rr4e7anhlfaaa91h9f6di682.jpg"/>

Description

The client invokes the method on the proxy. The proxy-provided method of defining the service passes the method invocation message to the

Information channels. The channel has a network protocol that communicates between the client and server side. From the channel, the message is passed to the scheduler, and the scheduler calls the service. (Personal understanding)

<!--&NBSP;&NBSP;&NBSP;&NBSP;WCF supports a variety of communication technology protocols, the following is the communication technology used by the core services:     1.SOAP:         Platform-Independent communication, the SOAP protocol can directly support WCF. SOAP was originally a simple Object Access Protocol (soap    ) and was no longer a simple Object access protocol since SOAP1.2. Instead of sending the message, XML is used instead.             2.web services description  Language     provides a way to describe the service.         3.Representational State Transfer  (REST)       communicates         4 using a cross-http restful web service. javascript object notation  (JSON)     enables easy use from  within JavaScript clients--><!--want to know more about the above content can be found on the official website related documents--> 


This article is from the "Love Coffee" blog, please be sure to keep this source http://4837471.blog.51cto.com/4827471/1569709

Windows Communication foundation_1 Overview

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.