Wcf framework learning journey

What
   is WCF? WCF is a collection of specialized classes dedicated to service customization, publishing and operation, as well as message delivery and processing, which is the so-called "class library". These classes are organized in a certain way, collaborate together, and provide developers with a unified programming model. The reason why WCF is special is that the scenarios it responds to are different from ordinary .NET class libraries. It is mainly used to handle the transmission and processing of messages between processes and even between machines. At the same time, it introduces the design ideas of SOA to serve Announce and run in a way to facilitate the client to call the service across processes and machines. In fact, WCF is a master of Microsoft’s programming technology for distributed processing. It integrates DCOM, Remoting, Web Service, WSE, and MSMQ, thus reducing the learning curve for distributed system developers and unifying development standards. .

What is WCF?
  WCF itself is a set of SDK based on .NET Framework launched by Microsoft in response to its SOA strategy. When we develop a system based on the .NET framework under the Windows platform and require this system to interact with other platforms such as WebLogic, WebSphere or JBoss, we need to use WCF technology. This is because of the interoperability of WCF.

                

              

As shown in the figure: only specific methods are written in the WCF framework. When my wcf framework is running, the WCF service host will be started. This is to share the methods in my own framework, and then I reopened a VS separately, and only established A console, the console can directly call the method in it by referencing the base address in the wcf configuration file

Create WCF service

   WCF is a service provided by .NET. You can subpackage your own programs (complete specific functions, such as reading data from the database, etc.) into services and publish them to the server. Then a URL will be generated, and the client can refer to this service and use the functions provided in this service when programming.

Guess you like

Origin blog.csdn.net/yanghezheng/article/details/114204718