From the perspective of the position of WCF, it is included in. Net 3.0 (also including. Net 3.5. The only difference between. Net 3.0 and. NET 2.0 is that. Net 3.0 contains WCF, WPF, WF (or cardspace. Therefore, we think that WCF is part of the. NET Framework and it does not seem to be too much. The most important thing is that WCF cannot be separated. the net framework exists independently (but not the WCF client can call the WCF Service). Therefore, although WCF is specially released by Microsoft to meet the development requirements of SOA solutions, however, it is not a framework like spring or struts, nor a container or server like EJB. Microsoft is truly in line with the SOA Enterprise Application Server role. I think it should be BizTalk Server.
Strictly speaking, WCF is a set of specialized classes specifically used for service customization, publishing and running, and message transmission and processing, that is, the so-called "class library ". These classes are organized in a certain way to work together and provide developers with a unified programming mode. The reason why WCF is special is that it deals with common scenarios. the net class library is different. It is mainly used to process inter-process and inter-machine message transmission and processing. It also introduces the design idea of SOA and publishes and runs it as a service, to facilitate the client's cross-process and machine calls to services. In fact, WCF is a set of developers of distributed processing. It integrates DCOM, remoting, Web Service, WSE, and MSMQ, reducing the learning curve of distributed system developers, and unified development standards.
The difference between WCF and other class libraries lies in that WCF fully embodies the concept of runtime environment. For developers who used WCF earlier, they may know that. NET 2.0 to develop WCF, you also need to download a special runtime component version 3.0, which contains the content such as WCF and WF. In. net, the so-called "host" concept always exists. The entire. NET Framework (or CLR) can be considered as a large host, just like a Java virtual machine. Since WCF has special requirements for services, it needs to publish and run services for the server; for clients, it needs to call services; for developers, you need to write definitions, releases, runs, and CALLS services.Code. Services can only run on specific hosts. These Hosts can be console applications.ProgramA process, a Windows or web application process, or a Windows service process, or the most common IIS host. Inside the host, the channel stack is encapsulated, and the protocol, encoding, message transmission, and proxy processing are included. At the top of the channel layer, an advanced Runtime is provided for developers of applications.
Therefore, we can think that WCF is. net Framework 3. X contains a set of runtime environments for service customization, publishing and running, message transmission and processing, and related classes, it provides sdks for developing and deploying services on the Windows platform. Shows the approximate composition:
From: Http://dev.yesky.com/402/8079902.shtml
What is WCF?
Windows Communication Foundation (WCF) is a software development kit (SDK) that develops and deploys services based on windows ). WCF provides a runtime environment for services, allowing developers to publish the CLR type as a service and use the service in the CLR type. In theory, creating a service does not necessarily require WCF. However, actually, using WCF can make the task of creating a service get twice the result with half the effort. WCF is the implementation of Microsoft's definition of a series of industrial standards, including service interaction, type conversion, envelope aling, and management of various protocols.
Therefore, WCF can provide interoperability between services. WCF also provides developers with basic functional modules required by most applications, improving developers' efficiency. The first version of WCF provides many useful functions for service development, including hosting and service instance management) asynchronous call, reliability, transaction management, offline queue call, and security. At the same time, WCF also provides an elegant and scalable model that allows developers to enrich their basic functions. In fact, the implementation of WCF uses such a scalable model. The remaining chapters of this book focus on the content and features of these many aspects. Most of the functions of WCF are included in a separate assembly system. servicemodel. dll. The namespace is system. servicemodel.
WCF is part of. Net 3.0 and must be supported by. NET 2.0. Therefore, it can only run on the operating system that supports it. Currently, these operating systems include Windows Vista (client and server), Windows XP SP2, Windows Server 2003 SP1, and updated versions.
From: http://book.51cto.com/art/200801/65127.htm
According to Microsoft's official explanation, WCF is a unified framework for building and running service-oriented (service oriented) applications using managed code. It enables developers to build a cross-platform, secure, reliable, and transactional solution that is compatible with existing systems. WCF is a mass developer of Microsoft Distributed Application Development. It integrates all technologies related to distributed systems on the. NET platform, such as. Net remoting, asmx, WSE, and MSMQ. 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 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 is built on. NET Framework 2.0 and included in. Net 3.0/3.5. 2005 does not contain WCF, but after winfx runtime components is installed, we can develop and create a WCF program in the Visual Studio 2005 environment. WCF is Microsoft's key product, so it also launched a special official website (http://windowscommunication.net/), which has the latest WCF news release, it also introduces the technical documentation and sample code of WCF.
From: Http://developer.51cto.com/art/200804/67756.htm