The net.tcp binding is a Microsoft Windows Communications Foundation (WCF) protocol. The protocol is binary, secure, and reliable --- though these options are configurable.
Questions tagged [nettcpbinding]
474 questions
6
votes
2 answers
WCF With NetTCP across machines on the same network
I'm trying to implement some cross process communication that is between multiple computers and one server on the same network. What I'm trying right now is to use WCF with NetTcpBinding, hosted within my application which works on the same…

Adam Haile
- 30,705
- 58
- 191
- 286
6
votes
2 answers
Why is it so much harder to enable SSL (Transport security) over net.tcp than HTTP?
Implementing a web service that uses Transport-level security with WCF over HTTP is pretty easy: Enable SSL for my WCF service
Implementing a web service that uses Transport-level security with WCF over net.tcp is pretty hard: WCF with netTcpBinding…

Greg Smalter
- 6,571
- 9
- 42
- 63
6
votes
1 answer
Is it possible create a scalable WCF service with thousands of long-running TCP connections?
I'm attempting to create a WCF service where several thousand (~10,000) clients can connect via a duplex NetTcpBinding for extended periods of time (weeks, maybe months).
After a bit of reading, it looks like it's better to host in IIS than a…

cjones26
- 3,459
- 1
- 34
- 51
6
votes
1 answer
C# WCF NetTCPBinding Blocking Application
I have a basic buddylist type application which is a pub/sub deal in WCF. My problem is one or two of the calls are long running and this blocks up the entire server application (gui updates etc).
Here's my code:
[ServiceContract(SessionMode =…

Luke Belbina
- 5,708
- 12
- 52
- 75
6
votes
2 answers
The maximum message size quota for incoming messages has been exceeded (obvious fix not helping)
I have an application which is uploading large files using WCF with netTcpBinding. For a particular file, i'm getting the error message:
The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the…

pjacko
- 542
- 1
- 6
- 17
6
votes
0 answers
Consuming WCF service from .net core 2.1 web app
I have a .net framework app that consumes a WCF service successfully, and when i try to duplicate the settings onto my .net standard 2.0 class library - which is used by a .net core 2.1 web application - i get various errors depending on how i set…

Tomer Something
- 770
- 1
- 10
- 24
6
votes
1 answer
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…

jgauffin
- 99,844
- 45
- 235
- 372
6
votes
2 answers
How to consume duplex wcf service in Windows Universal App
How can I consume wcf service with duplex contract in Windows universal app?
I'm getting PlatformNotSupportedExcetpion: Operation is not supported on this platform. runtime exception when trying to consume duplex wcf service in Windows Universal…

Liero
- 25,216
- 29
- 151
- 297
6
votes
2 answers
Mono WCF NetTcp service takes only one client at a time
While trying to build a client-server WCF application in Mono we ran into some issues.
Reducing it to just a bare example we found that the service only accepts one client at a time. If another client attempts to connect, it hangs until the first…

vene
- 235
- 2
- 9
6
votes
1 answer
WCF - Disabling security in nettcpbinding (c#)
I'm trying to make a self hosted WCF app that uses nettcpbinding but works in an environment without a domain.
It's just two regular windows pc's, one is the server and the other one will be the client. The problem with this is that when I try to…

user302259
- 61
- 1
- 2
6
votes
1 answer
NetTcpBinding with Streaming and Session
I’m trying to set up a WcfService with the use of NetTcpBinding. I use Transfer mode Streamed since I will transfer large files. I need to use Session, and I have read that NetTcpBinding supports this, but when I turn it on like:…

CaptainMorgan
- 61
- 1
- 3
6
votes
1 answer
Getting WCF callbacks to work with the netTcpBinding
I am having some issues getting callbacks working with my netTcpBinding WCF client/server. Here is the code... any thoughts?
Service Side
contract:
using System.Runtime.Serialization;
using System.ServiceModel;
namespace API.Interface
{
…

AndySousa
- 1,062
- 2
- 15
- 30
6
votes
1 answer
How to consume WCF Service with net tcp binding and without mex binding
I installed a windows application, it uses a WCF service, I just go through the config file for WCF service with net tcp binding hosted in Windows service with the following configuration, I am wondering how the clients are able to consume this WCF…

Dev
- 960
- 2
- 15
- 35
6
votes
2 answers
Cancel a long running task over WCF from client
I have a WCF service set to PerCall
I would like to know how I can send a Start call from the client to start a long running process, and send a Cancel command to cancel it
My WCF service looks something like this
…

Null Reference
- 11,260
- 40
- 107
- 184
6
votes
1 answer
What's the fastest possible security configuration for netTcpBinding?
I'm running a WCF service that, among other things, is used as the back end for a web site. Because both the web site and the WCF service are running on the same machine, and in the interests of performance, I set it up with a netTcpBinding.
Now…

Gavin
- 9,855
- 7
- 49
- 61