Ask a questionAsk a question
 

AnswernetTcpBinding

  • Saturday, November 07, 2009 4:42 AMJohny79 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    So I haven't really thrown away the wsDualHttpBinding project yet but have moved on to netTcpBinding. So the netTcpbinding project I have is working well on the corporate network. So I want the real test (scenario) as if I was a client outside the network.

    I have my WPF hosted IIS and is self-hosting my netTcpBinding. The IT have given me a static IP address and I am able to access the WPF application outside the network. However, my WPF application cannot seem to access the WCF. What is the setup I need to access the WCF Service?

Answers

  • Saturday, November 07, 2009 12:40 PMPROGRAMMERLIVE Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Greeting,'

    Selection of binding is very important with respect to intranet or internet environment(i.e communication between the Client and WCF Service and Communication between the WCF Service and Client). Before you do anything in WCF , selection of binding. It must not change. Selection of binding is very important.

    Go through the link which is given below.
    http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/c44d6c72-1bfd-4650-bf09-e690c4cc8e68

    Take Care

    PL
    Helping People To Solve Technical Problems
  • Monday, November 09, 2009 2:25 AMFrank Xu Lei Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi,
    netTcpBinding can not be used on inernet.for it just for a intranet in a company.
    and the client must be WCF client.

     if you want test it on internet,you had better use wsDualHttpBinding .

    regards
    Frank Xu Lei--谦卑若愚,好学若饥
    专注于.NET平台下分布式应用系统开发和企业应用系统集成
    Focus on Distributed Applications Development and EAI based on .NET
    欢迎访问老徐的中文技术博客:Welcome to My Chinese Technical Blog
    欢迎访问微软WCF中文技术论坛:Welcome to Microsoft Chinese WCF Forum
    欢迎访问微软WCF英文技术论坛:Welcome to Microsoft English WCF Forum

All Replies

  • Saturday, November 07, 2009 12:40 PMPROGRAMMERLIVE Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Greeting,'

    Selection of binding is very important with respect to intranet or internet environment(i.e communication between the Client and WCF Service and Communication between the WCF Service and Client). Before you do anything in WCF , selection of binding. It must not change. Selection of binding is very important.

    Go through the link which is given below.
    http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/c44d6c72-1bfd-4650-bf09-e690c4cc8e68

    Take Care

    PL
    Helping People To Solve Technical Problems
  • Monday, November 09, 2009 2:25 AMFrank Xu Lei Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi,
    netTcpBinding can not be used on inernet.for it just for a intranet in a company.
    and the client must be WCF client.

     if you want test it on internet,you had better use wsDualHttpBinding .

    regards
    Frank Xu Lei--谦卑若愚,好学若饥
    专注于.NET平台下分布式应用系统开发和企业应用系统集成
    Focus on Distributed Applications Development and EAI based on .NET
    欢迎访问老徐的中文技术博客:Welcome to My Chinese Technical Blog
    欢迎访问微软WCF中文技术论坛:Welcome to Microsoft Chinese WCF Forum
    欢迎访问微软WCF英文技术论坛:Welcome to Microsoft English WCF Forum
  • Monday, November 09, 2009 2:43 AManuprhosur Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    netTcpBinding cannot be used outside the firewall(intranet).