net.tcp

WCF: Net.TCP multiple bindings, same port, different IP Addresses

Hi there, I've run into a problem. I'm a little new at WCF so any help would be greatly appreaciated. Here's my code: public static void StartHosts() { try { // Create a new host ServiceHost host = new ServiceHost(typeof(ServerTasks)); List<IPAddress> ips = new List<IPAddress>(Dn...

WAS hosting a WCF service with net.tcp binding

I'm trying to publish a calculation service on a bunch of computers which will be used by an application server. The calculation servers are stateful and need to be able to perform asynchronous callbacks so I want to use per-session settings via TCP. The service application was built using the WCF Service Application project type in VS2...

How to check the availability of a net.tcp WCF service.

My WCF server needs to go up and down on a regular basis, the client sometimes uses the server, but if it is down the client just ignore it. So each time I need to use the server services I check the connection state and if it's not open I open it. The problem is that if I attempt to open while the server is down there is a delay which h...

c# WCF host.open failing

I am doing a WPF application and it is also a WCF server, the problem I have is that I need the ServiceHost to be open and listen in a port for the clients and accept requests as soon as it starts, but the problem I have is that if I write the code to open the host host.open in the constructor after the function this.InitializeComponent...

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

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? ...

How to host WCF through TCP Ports?

How to host wcf services,through TCP Ports,and how to listen to it?,and consume services through these TCP ports? i.e apart from net.tcp binding,is there someway to host and consume using TCP Ports.? ...

Is it possible to use netTcpBinding with the VS 2008 development server?

Is it possible to have a WCF service configuration like this: <service behaviorConfiguration="WcfService1.Service1Behavior" name="WcfService1.Service1"> <endpoint address="" binding="netTcpBinding" bindingConfiguration="" contract="WcfService1.IService1"> </endpoint> <endpoint address="mex" binding="mexTcpBinding...

How to solve "The ChannelDispatcher is unable to open its IChannelListener" error?

Hi, I'm trying to communicate between WCF hosted in Windows Service and my service GUI. The problem is when I'm trying to execute OperationContract method I'm getting "The ChannelDispatcher at 'net.tcp://localhost:7771/MyService' with contract(s) '"IContract"' is unable to open its IChannelListener." My app.conf looks like t...

create net.tcp binding wcf service object in silverlight

Hello i have develop a silverlight application with wcf net.tcp binding. i want create an object of service in sliverlight. how it is possible. please help me. Thanks ...

Hosting WCF service in IIS 7 (WAS) with net.tcp binding on TWO tcp ports

By default IIS 7 Web site has net.tcp binding with "808:" binding information string. If i add another net.tcp binding with "xxx:" exception occurs: This collection already contains an address with scheme net.tcp. There can be at most one address per scheme in this collection. Parameter name: item How can i solve this problem and li...

Obtaining a list of connected clients for a wcf service.

How can I enumerate some sort of location identifier for all of the connected clients for a servicehost? I'm using a duplex connection for long running calculations. The Service host is a singleton. I can figure out (in .net 3.5) the ip of the calling client but i am unsure how to get the ip of all connected clients. ...

How to use simple TCP/IP sockets connection over Net.TCP WCF binding?

How to use simple TCP/IP sockets connections over/with Net.TCP WCF binding? Idea is – We have a web service with Net.TCP binding on some URL, port. We want to take advantage of the WCF address model and simplicity of socket connections. So can we use simple TCP/IP sockets connection over/with Net.TCP WCF binding? If yes. What do I ne...

How to create Net.TCP WCF binding for\using SOAP 1.1?

How to create Net.TCP WCF binding for\using SOAP 1.1? Is it posible? If yes. What do I need? MSDN if there is any help on this. Open Source Libs/wrappers. Tutorials and blog articles on How to do it. If no: I need know where did you get the information from (link to MSDN or other official WCF information resource). ...

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

Hi. 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 configu...

WCF Streaming File Transfer

I'm attempting to transfer some files through WCF, but as soon as the method is called from the client, I get the following message: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket ti...

How can I enable Net.Tcp Port Sharing Service programmatically?

I would lke to programmatically enable and start the Net.Tcp Port Sharing Service in C#. I can easily start the service using the ServiceController class. However, how do I enable the service, which is disabled by default? I found one recommendation online to set the following registry key to 2 as follows, which supposedly sets the serv...

Socket/Timeout in Azure WebRole for synchronous communication with WCF Host in WorkerRole

I'm trying to get this to work on an internal tcp connection. The code runs flawlessly in development but when deployed to Azure I get ... a CommunicationException "The socket connection was aborted" trying to connect to "net.tcp://......" with a time code about 60 seconds it waited. wcf host side: _WCFHost.AddServiceEndpoint(typeof(I...

WCF Net.TCP service throwing obscure errors

I am trying to enable an additional net.tcp endpoint (which uses Username authentication) for an existing WCF service. The service is hosted in IIS7. Executing a client against the service returns an error that the socket connection was aborted. Enabling tracing against the service reveals the following exception is thrown: System.Arg...

WCF Duplex net.tcp issues on win7

We have a WCF service with multiple clients to schedule operations amongst clients. It worked great on XP. Moving to win7, I can only connect a client to the server on the same machine. At this point, I'm thinking it's something to do with IPv6, but I'm stumped as to how to proceed. Client trying to connect to a remote server gives...

WCF net.tcp bindings, message formats and security questions

Hi, sorry for the stupid questions but there are just some things about WCF I cant get my head around. Would be greatful for some advice on the following.... At a very basic level is it correct that WCF uses either Binary (Net.Tcp), HTTP or MSMQ to transfer my message on the wire? However is it true that in all cases, regardless of how...