Questions tagged [nettcpbinding]

The net.tcp binding is a Microsoft Windows Communications Foundation (WCF) protocol. The protocol is binary, secure, and reliable --- though these options are configurable.

474 questions
184
votes
1 answer

Catch-22 prevents streamed TCP WCF service securable by WIF; ruining my Christmas, mental health

I have a requirement to secure a streamed WCF net.tcp service endpoint using WIF. It should authenticate incoming calls against our token server. The service is streamed because it is designed to transfer large amounts of data n stuff. This…
user1228
34
votes
2 answers

what is the global.asax Application_Start equivalent when using WAS in IIS7

I'd like to use the netTcpBinding for my WCF application which is currently hosted in IIS7, which means configuring it to use WAS instead. This is fairly straight forward however, my application previously made use of the Application_Start event in…
Mike Tours
  • 772
  • 2
  • 6
  • 13
32
votes
2 answers

What is the purpose of WCF reliable session?

The documentation around this topic is poor. I use WCF services with NetTcpBinding hosted in Windows service. The problem is that a session is dropped when it is inactive for some time. What I need is the session which is always alive. Is WCF…
Andrei Sedoi
  • 1,534
  • 1
  • 15
  • 28
31
votes
2 answers

Detecting Client Death in WCF Duplex Contracts

I'm trying to build a SOA where clients can perform long running queries on the server and the server responds using a callback. I'd like to be able to detect if the client disconnects (through user initiated shutdown, unhandled exception or loss of…
Sindhudweep
  • 784
  • 1
  • 6
  • 12
29
votes
1 answer

WCF NetTcpBinding Security - how does it work?

I am encountering the following problems trying to work through the quagmire of settings in WCF... I created a WCF client-server service using a NetTcp binding. I didn't make any changes to the security settings and when running on one machine it…
Remotec
  • 10,304
  • 25
  • 105
  • 147
24
votes
5 answers

WCF How much faster is TCP than HTTP

I understand that TCP is faster than HTTP for WCF but I'm interested to know by how much. I have a performance issue with a large application that uses HTTP and am considering whether moving to netTcp would yield a sufficient performance improvement…
Mark 909
  • 1,825
  • 1
  • 18
  • 27
19
votes
1 answer

Streamed transfer + netTcpBinding = framing mode not supported?

Can anybody explain what this error means: The .Net Framing mode being used is not supported by blah blah yadda I can't find any info worthwhile. The exception says to check the server logs, however I can't find anything in them relating to…
user1228
17
votes
5 answers

netTcpBinding or wsHttpBinding

I have a WCF Service hosted as Windows Service and client is an ASP.Net application consuming WCF Service methods. In process of implementing security, I am confused over which among netTcpBinding/wsHttpBinding will be suitable for my case. Most…
inutan
  • 10,558
  • 27
  • 84
  • 126
14
votes
3 answers

Add service reference when using netTcp binding

I have a WCF service that I tested by copying its interfaces to a sample client project. Now I want to work properly by adding a service reference. The service is hosted in windows hosting (using installUtil). The service has 2 projects - externals…
Noich
  • 14,631
  • 15
  • 62
  • 90
13
votes
1 answer

Can you do NetTcpBinding in code? Should you?

WCF newbie here... I'm trying to self-host a WCF service using NetTcpBinding. Based on the MSDN "how-to" tutorial I have done all the binding in code, which I then changed from WsHttpBinding to NetTcpBinding, and now looks like this: var…
Shaul Behr
  • 36,951
  • 69
  • 249
  • 387
12
votes
1 answer

Register asp.net in IIS 10

I have one issue which is related with registering asp.net in IIS 10. My environment is Windows 10, IIS 10, VS 2013 and VS 2015 installed, .NET 3.5 is a feature in Windows Features. I want to use nettcpbinding in iis, so, I installed WCF HTTP…
Edward
  • 28,296
  • 11
  • 76
  • 121
12
votes
3 answers

How to properly close a client proxy (An existing connection was forcibly closed by the remote host)?

Please don't close as duplicate until you read the question to the end; I already googled for hours without success. EDIT: Now I'm convinced it's related to the way WCF caches opened TCP connections (connection pooling). Please take a look at edit…
ken2k
  • 48,145
  • 10
  • 116
  • 176
11
votes
4 answers

Can't get netTcpBinding requests to show up in Fiddler

I have a WCF service that has two endpoints. One with basicHttpBinding and one with netTcpBinding. Here is my config...
kavun
  • 3,358
  • 3
  • 25
  • 45
10
votes
2 answers

netTcpBinding without Windows credentials?

I've got a machine-control application where I have a single client computer and five server boxes communicating on the machine subnet. There is no domain controller. I would like to use netTcpBinding to allow for reliability and transaction…
Scott P
  • 3,775
  • 1
  • 24
  • 30
9
votes
1 answer

Enabling certificate based authentication for WCF service using netTcpBinding

I have a WCF service which is exposed using a single endpoint with netTcpBinding which sits on Server A, hosted on IIS7.5/WAS on our internal LAN on our domain. This service is then consumed by an ASP.NET web client application sitting on Server B,…
Ira Rainey
  • 5,173
  • 2
  • 34
  • 42
1
2 3
31 32