Relationship with WCF

Source: Internet
Author: User
Tags hosting windows hosting msmq

1. WebService: strictly speaking, it is an industry standard, not a technology. xml extension markup language is used to represent data (this is the key to boast of languages and platforms ). Microsoft's Web service implementation is called ASP. NET web service. It uses the Simple Object Access Protocol soap to implement data interaction between applications in a distributed environment. Description of the service interface. In addition, Web services can be registered to the UDDI Center for customers to find and use. Later, Microsoft implemented ASP. NET Web Service Security, performance, data encryption, decryption, hosting host and other aspects of the extension, called the WSE series, this is an over-product, up to wse3.0. later is the WCF era.

 

2. WCF: to some extent, it is ASP. net web service, because it supports the industry standard and Core Protocol of Web Service, Asp. net web service and WSe can do almost all the things they can do. cross-platform and language are not a problem (data also supports XML formatting and provides their own formatter ). However, as a communication component or platform promoted by Microsoft, WCF aims not only to support and integrate Web Services, because it is also compatible with and has many features of Microsoft's early technology. According to Microsoft's official explanation, WCF (formerly known as "indigo") uses managed code to establish and run services.
Oriented) unified framework of applications. It enables developers to build a secure, trusted, and transactional solution across platforms, and to be compatible with existing systems. WCF is a set of developers for Microsoft Distributed Application Development. It integrates. NET platform, such as enterprise Sevices (COM + ). net remoting, Web Service (asmx), wse3.0, and MSMQ message queues. In terms of the scope of communication (communiation), it can be cross-process, cross-machine, cross-subnet, enterprise network or Internet; in terms of host programs, it can be based on ASP. NET, EXE, WPF, Windows
Forms, NT Service, COM + as the host (host ). The protocols supported by WCF include TCP, HTTP, cross-process, and custom. Security modes include SAML, Kerberos, X509, user/password, and custom. That is to say, it is easy to develop a SOA-based Distributed System under the WCF framework. Microsoft includes all the technical elements related to this, and has mastered the concept, it is equivalent to mastering the key to open the SOA door.

 

WCF supports multiple communication protocols: HTTP/https, TCP/UDP, MSMQ, named pipe, peer network,

Message accessibility and transaction flow.

WCF can be integrated with ASP. NET and share a context (httpcontext ).

WCF supports multiple message transmission formats: Text, binary, MTOM, and JSON.

Strong WCF security: supports Symmetric Security, asymmetric security, message security, transmission security,

SSL Stream Security and Windows Stream Security.

WCF supports multiple session modes: unidirectional, bidirectional, and request/response.

WCF supports rest.

WCF supports multiple formatting methods. Datacontractserializer, xmlserializer,

Datacontractjsonserializer.

WCF supports was hosting, Windows hosting, self-hosting, and IIS hosting.

WCF supports multiple concurrency modes: Singleton, monotonous, and session.

 

Summary:

(1) WCF does not depend on IIS.

(2) WCF can be configured as basichttpbinding to be compatible (or transformed to) WS.

(3) WCF can transmit data based on TCP or messegequeue.

(4) WCF is more configurable than WS, such as security.

(5) WCF can be stateful and supports transactions.

 

 

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.