01 WCF programming Overview
Advantages of SOA
1. Services are independent from the platform and work environment. The service does not care about its own environment, nor the environment of the service that communicates with it. 2. Services are isolated from each other. 3. The service is neutral to the protocol, format, and transmission. 4. Services can be expanded. 5. service behavior is unrestricted. Technology for implementing SOA: 1. WebService 2.wcf
What is WCF?
Definition on msdn: WCF provides a basis for. netframework to write code for communication between components, applications, and systems. The Design of WCF follows the service-oriented principle. A service is a piece of code that can interact with a message. Services are passive. They do not work until the message is passed in. The client is the initiator. The client sends a message to the service to request work. Http://www.cnblogs.com/lykbk/archive/2013/03/18/56445fdgbhfg894548.html
WCF
Is a mass developer of Microsoft Distributed Application Development. It integrates all technologies related to distributed systems on the. NET platform, such
Enterprise Sevices
(COM +). Net remoting (a very flexible extension framework ),
Web Service (asmx ),
Wse3.0
MSMQ message queue.
In the scope of communication (communiation), it can
Cross-process, cross-machine, cross-subnet, enterprise network, and Internet;
For the Host Program
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,
The security mode includes SAML, Kerberos, X509, user/password,
Custom and other standards and modes.
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.
What is the relationship between WCF and WebService?
What is Web Service heterogeneous platform interoperability technology: WebService
ASP. NET web service:
Use the Data Interaction Between SOAP protocol objects in a distributed environment.
WSDL is used to describe service interfaces.
Called the WSE series:
Security, functions, data encryption, decryption, host hosting, and other aspects of ASP. NET Web Service,
Http://www.cnblogs.com/lykbk/archive/2013/03/18/56445fdgbhfg894548.html http://blog.sina.com.cn/s/blog_698853780100sitx.html WCF is able to create services that are compatible with web services, that is, to create services that can be interconnected with Web Services, the two of which are not expressed simply by inclusion or equivalent. WCF is a set of frameworks used to create various services. This includes creating a Web Service (the service bound with basichttpbinding is a Web Service ). WCF is a framework used to develop WS, but it is not limited to developing ws applications. It also supports compiling common socket applications through extension. differences between WCF and WS: (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 .. ---------------------- WCF can communicate with Web services. Therefore, interoperability with other platforms that support soap (such as mainstream J2EE-based application servers) becomes simple and clear. You can also configure and expand WCF to communicate with Web services that use messages that are not based on soap. Performance is a critical consideration for most businesses. The goal of developing WCF is to make it one of the fastest distributed application platforms developed by Microsoft.