nettcpbinding

WCF RIA over Net.TCP binding?

I am trying to improve the performance of a Silverlight 4 WCF RIA application. As it's for intranet use only, I figured switching from the default binary HTTP binding to the Net.TCP binding might improve performance a bit. However, I am having a hard time just getting a simple proof of concept application running. I have: switched t...

Can you use WCF Data Services (ne OData, ne Astoria, ne ADO.NET Data Service) with NetTcpBinding?

I'm looking at creating a data query WCF service over a slow satellite connection and I really like WCF Data Services. The problem I see is that HTTP is a very verbose format and since everything I'm doing is internal and .NET, is it possible to use NetTcpBinding instead to reduce some of the overhead? Is this even possible? Advisable? ...

How can netTcpBinding be slower than wsHttpBinding?

Hi, I have implemented a scenario which uses netTcpBinding and WsHttpBinding with Transport Security(https) as communication binding type in WCF. Then I compared the performance results. Interestingly, netTcpBinding was slower than wsHttpBinding. I have read a a lot of documents about binding performance and I know that the netTcpBindin...

TcpConnection and WcfProxy

Hi, When I dispose wcf client proxy, is TcpConnection still available? (netTcpBinding has been used) ...

How do configure username/password authentication for WCF netTcpBinding?

I would like to be able to use username/password authentication with nettcpbinding, is that possible? (UserNamePasswordValidator or something like that), no windows authentication. I'm configuring everything with code, so please only use code and not app.config in any examples. ...

Is there a performance issue with hosting multiple WCF services on the same port

I have 2 WCF services going through the same TCP port. Both services are self-hosted, one attaches to net.tcp://localhost:8700/DataAccess another to net.tcp://localhost:8700/Messages Will I gain any performance by attaching them to different ports? One of the services is very busy sending megabytes of data every second. Any reason to h...

Azure WCF host causes communication errors when one instance restarts

I have a rather specific issue with a WCF host in Azure. Please bear with me as I describe the situation. We have a WCF host hosted in and Azure worker role using an net TCP binding. We have two instances of this worker role running to provide redundancy. For reasons that are irrelevant to our problem, we force a restart to these ins...

How to add a service reference which has a net.tcp binding at the exposed service end-point

I have a WCF service which has an endpoint with a net.tcp binding. var baseAddress = new Uri("net.tcp://localhost:8000/ServiceModelSamples/Service2"); var selfHost = new ServiceHost(typeof(CpuUsageProvider), baseAddress); selfHost.AddServiceEndpoint(typeof(IGetCpuUsage), new NetTcpBinding(), "CpuUsageProvider"); var ...

WCF Service configuration in Web Farm and Load Balancing envrionment.

I want to configure ASP.NET Website Project using WCF Service[NetTcp] (both in c#) for web-farm (for website) and NLB Load balancing (for service). I would like to configure following options for same. NetTcpBinding.maxConcurrentCalls, NetTcpBinding.ListenBacklog and NetTcpBinding.MaxConnections Note: During single machine configurati...

What does the Reliable property mean in netTcpBinding

The netTcpBidning has a reliable property, but the documentation doesn't state what it does. For instance: Do it send keep-alives over the connection? Do it reconnect if connection is lost? ...