C # Service-Oriented Programming Technology from the beginning to the practical drills of WCF,

Source: Internet
Author: User

C # Service-Oriented Programming Technology from the beginning to the practical drills of WCF,
I. Introduction to the WCF Course

1.1 will Web Service be replaced by WCF?

The answer to this question is: there are new and old functional features of the two, but for a specific system, what suits you is the best. No technical framework can be compared with industry standards. any comparison between the two is wrong, because they are not in the same category. It is just like a misunderstanding that we cannot compare cars with traffic regulations.

A's aim is to complete the C # Service-Oriented Programming Technology WCF course from getting started to practical drills, it allows you to apply the learning results to actual projects directly after you build your hands. The WCF technology I shared this time is entirely derived from actual projects. How can I get started with and use the WCF technology quickly!It makes you feel as friendly as WebSerice, making the "Call" of the WCF client a "pleasure "!

WCF is definitely a technology worth learning. If you study it in depth, you will find that it is really not easy!

If you want to shareInterestedIf so, please study with Jack. We don't need to talk much about it. We just need to get the dry goods directly. We don't make the dry goods, but we are just the porters of the dry goods.

Ii. What are the differences between WebService and WCF?

WebService: Strictly speaking, it is an industry standard, that is, the WebService specification, also known as the WS-* specification. It is neither a framework nor a technology.It has a set of standardized system standards, and is continuously updated and improved. It uses XML extension markup language to represent data (this is the key to the exaggerated language and platform ). Microsoft's Web service implementation is called ASP. NETWebService. 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, Webservices can be registered to the UDDI Center for customers to find and use. Later, Microsoft implemented ASP. NETWebService 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.

WCF: WCF is a distributed application development framework, which belongs to a specific technology or platform. It is neither a standard nor a standard.

To some extent, WCF is ASP. NET Web Service, because it supports WebService industry standards and core protocols, ASP. NETWebService and WSE can do almost all the things that NETWebService and WSE can do. cross-platform and language are not a problem (data also supports XML formatting and provides its own formatter ).

As a communication component or platform promoted by Microsoft, WCF aims not only to support and integrate WebService, but also to be compatible with and possess many features of Microsoft's early technology.

V. Online demonstration and interpretation of source code

5.1. C # The BasicHttpBinding and WSHttpBinding methods commonly used by WCF are learned.

5.2. How can C # WCF perform unified entry calling in an elegant way.

5.3. C # WCF adopts the basic identity authentication of X509 certificates.

5.4. Practice: how to implement hybrid access to WCF (both HTTP and TCP are supported ).

The client can add a service by calling the WCF Service by adding a service reference. This method is simple and suitable for small projects. The coupling between the server and the server is deep, and a large number of bloated files are generated by adding service references. In this example, an interface is used to use the WCF Service to overcome the disadvantages of service reference. At the same time, we hope to discuss how to use WCF in a better way.

WCF practice
  WCF practice

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.