net.tcp

Non-http Protocol Support in windows xp or Windows Server 2003? (net.tcp)

让人想犯罪 __ 提交于 2019-12-24 20:10:22
问题 Will it be possible for windows xp or windows server 2003 to support net.tcp for WCF, well it works in windows server 2008 as IIS 7.0 supports net.tcp,but is there anyway for IIS 5.1 or IIS 6.0 to support net.tcp,is there any workaround for this? 回答1: No, you will have to host it yourself (windows service for example) to use net.tcp. See this article for a list of hosting options and what transports they can host. 回答2: I don't believe you can host non-HTTP bindings in IIS 6.0. In IIS 7.0 you

Host WCF service with net.tcp binding through IIS Manager 7.5

半城伤御伤魂 提交于 2019-12-22 07:05:10
问题 I am fairly new to hosting web applications and web services. Though I was successful in hosting a web application, I am running into road block after road block when trying to host a WCF service with net.tcp binding. My scenario is as follows, I have a hosted web application that needs to communicate with a hosted WCF service with net.tcp binding through IIS 7.5. As stated the web application is hosted fine and I can browse the web site. However, the web application makes services calls to

wcf net.tcp using SSL

北城以北 提交于 2019-12-22 04:11:51
问题 Has anyone had experience using SSL with net.tcp binding in WCF? Ive read its possible, but not finding good information on how to implement it. I would love to hear from anyone who knows about or who has implemented this. Thanks in advance... 回答1: Have a look at the contents in this link: http://msdn.microsoft.com/en-us/library/ms789011.aspx especially the section on "To use the NetTcpBinding with a certificate for transport security" 来源: https://stackoverflow.com/questions/2455251/wcf-net

Could not find a base address that matches scheme net.tcp

青春壹個敷衍的年華 提交于 2019-12-17 09:38:07
问题 I have moved my file transfer service from basicHttpBinding to netTcpBinding as I am trying to set up a duplex mode channel. I have also started my net.tcp port sharing service. I am currently in dev and am self hosting on an xp box until we move the app to a dev server. so, for now, I do not have access to IIS. After configuring my service as such: <service behaviorConfiguration="transferServiceBehavior" name="API.FileTransfer.FileTransferService"> <endpoint name="MyFileTransferEP" address =

Collection Already Contains Address with scheme net.tcp

寵の児 提交于 2019-12-13 04:57:28
问题 I have a persistent problem, which I have been researching for a couple days now. I am working on transitioning a WCF service to use a dynamic port, a need has finally come into scope for this. I am most of the way there; however, I am getting the error: System.ArgumentException: This collection already contains an address with scheme net.tcp. I have searched online for an answer, and have only found solutions to if the scheme was http. I will provide some code, to aid those who desire to

WCF CallBack Blocks other Callbacks

不打扰是莪最后的温柔 提交于 2019-12-12 21:48:17
问题 I have a WCF Service which Communicates to multiple WPF Client Applications. The Service uses NetTcpBinding in duplex Mode. Now I have 2 Functions which are called from the Server to notify each Client. One function is called every 50ms with a little amount of Data. (This function is invoked for every Client in a different Task!). The other function is called once, when the client registers on the Backend. This function submits a large dataset to the client. The problem now is: when the

NetTcpBinding and Windows 7 firewall

末鹿安然 提交于 2019-12-12 05:48:59
问题 I have an wcf winforms self-hosted app using nettcpbinding.(net.tcp://aaa.homeip.net:9388) The problem is windows 7 firewall, I added the exception on the inbound and outbound list (port 9388) but still doesnt work(even if the client is in the same machine)...I also tried to add Distributed Transaction Coordinator on the program list like this hint but no success... Everything works fine when firewall is disabled. 回答1: Add/enable Windows Communication Foundation Net.TCP Listener Adapter (TCP

net.tcp port sharing and mono

倖福魔咒の 提交于 2019-12-11 18:11:58
问题 in my self-hosted WCF application I've got a problem using port sharing with mono. Given the following code, this exception is thrown: System.Net.Sockets.SocketException: Address already in use and here is my code: NetTcpBinding tcpBinding = new NetTcpBinding(); ServiceHost host1 = new ServiceHost(myService1); host1.AddServiceEndpoint(typeof(IMyService1Contract), tcpBinding, "net.tcp://192.168.0.70:8075/service1"); host1.Open(); ServiceHost host2 = new ServiceHost(myService2); host2

WCF inner exception message “A registration already exists for URI 'net.tcp://…' ” when trying to support a dual LAN from a WCF service

喜你入骨 提交于 2019-12-11 09:15:53
问题 I have a self-hosted WCF service which is using the net.tcp protocol for an endpoint and it works fine on a PC with a normal LAN card. However, I want to support PCs which have dual LAN cards and this gives me problems. I have assigned different IP addresses to the two cards (192.168.1.1 and 193.168.1.1). I then changed my app.config file to try to support the dual LAN by adding a second endpoint for the WCF service, using the second IP address. (My WCF client can handle selecting which of

SecurityMode.None leads to TimeoutException instead of CommunicationObjectFaultedException

混江龙づ霸主 提交于 2019-12-11 02:24:31
问题 I have a WCF self-hosted service with net.tcp binding. I need it to be nonsecured with reliable session. When I configure it to nonsecure all calls to closed service (close, crash, process kill - any reason) lead to timeout exceptions (hang for a minute and timeout). When default (mode = Transport) - I get CommunicationObjectFaultedException at the same moment, seems like infrastructure automatically determines connection break. How can I get immediate CommunicationObjectFaultedException with