Solution to the Problem of WCF port number

Source: Internet
Author: User

Navigation:(1) The journey to WCF

(2) Solution to the Problem of WCF port number

(3) applications cannot be found when WCF adds service references.

(4) source of service reference in WCF

These two days I was getting started with WCF. I still had some research results yesterday afternoon. I am very happy to continue my demo today, but I just found the problem, fortunately, I remember the secret that everyone knows-I never asked Baidu or Google when I was done!

However, this problem is not very difficult. First, you can understand it literally.ProgramThrown exception

This is nothing more than a problem with the port number! Here we also want to declare that this demo is based on higel And the instance is basically the same.

Problem Analysis:

The reason for this problem is actually very simple, because it is still in the learning stage, soCodeThe internal endpoint addresses are all dead, and there is no flexibility at all, so this problem occurs.

Solution:

In the demo, replace the port of the URL address in the figure.

I have just been in touch with WCF for a day, but I can still feel its strength! Come on later!

Thanks to higel. . The original instance can be moved.

 

 

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.