HTTP-Get of WCF

Source: Internet
Author: User

 

 

I didn't know much about http-Get at first. Now I understand.

 

 

Don't be polite. If you have any questions, I will try to answer them ~
1. metadata acquisition method: one is to provide metadata based on the HTTP-GET protocol, and the other is to exchange the metadata of the Mex endpoint.
The HTTP-GET method is actually the same as the Asp.net web service, you have used the Web service to know, this method is also the way the Web add service reference deserialization to generate client code.
The metadata exchange method of the Mex endpoint is a new mechanism provided by WCF. However, the ultimate goal is to exchange metadata.
2. for the WCF Service class, the WCF Service Application is of different project types here. I have defined two different applications here to demonstrate metadata exchange, metadata Exchange works in the same way. You can use the metadata service to obtain information about the corresponding WCF Service.
3. if you do not understand what metadata is, let's give a simple example ,. net also has metadata, metadata. To put it bluntly, it is a basic and common representation .. Net code, whether written in C # Or VB. NET, is finally compiled as metadata. During reflection, you can view the original code content based on the metadata.
This concept also applies to the metadata of Web Services and WCF services. However, they are described in the WSDL language. For example, the client can refer to the description of the WSDL based on the Code of your service, to generate local code information. Generate another type of data information based on one type of data information.
This process is deserialized for a long time.

I don't know if it is helpful for your understanding ~

IIS supports HTTP access, and the base address must be the same as the website address of the service.

 

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.