c# - WCF net.tcp not supported. (socketexception) -



c# - WCF net.tcp not supported. (socketexception) -

i have learning application implements of import endpoints in sole service. implementing net.tcp + wshttp + basichttp , webhttp, work great except net.tcp. when access through browser tells me following:

the protocol 'net.tcp' not supported. description: unhandled exception occurred during execution of current web request. please review stack trace more info error , originated in code.

exception details: system.invalidoperationexception: protocol 'net.tcp' not supported.

seems mutual problem researched through net , concluded because on xp using locally can't. , when request socketexception connection refused code.

but 1 time again made project net.tcp , endpoints , bindings , works! means not using iis. i'm still beginner in wcf, tells me hosted wcf service host.

can explain me can create work on windows xp?

thanks

yes, right - net.tcp not available on iis 5.1 (windows xp).

to utilize net.tcp on xp machine have 2 hosting options:

self-hosted service (you write programme hosts service, using servicehost windows service hosted - service hosted in windows service. iis - http only.

refer hosting services overview , comparing of various methods host wcf service.

c# wcf iis

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -