Questions tagged [net-tcp]

21 questions
8
votes
2 answers

How do you programmatically change the WCF message encoding for NetTcp?

I have a custom intranet application that has no interoperability requirements. We programatically construct a NetTcp channel in duplex mode for passing messages. We wanted to change the message encoding but haven't been able to figure out how to…
Ajaxx
  • 2,500
  • 4
  • 27
  • 38
4
votes
0 answers

WCF: Using nettcp in an Silverlight 4.0 application with HTTPS

I have a Silverlight 4.0 application using nettcp working in HTTP. I then attempted to switch from http to https. This is where I started to run into issues. When I run the application I receive an Internet Explorer notification "Display Mixed…
Ryan
  • 41
  • 2
3
votes
1 answer

WCF custom security over netTcp

I'm new to WCF and I'm making server/client application in which I need to have some user/password schema to maintain some customization settings for each client and to log who access the service, but "security" in the traffic going through the net…
Nacho
  • 87
  • 7
2
votes
1 answer

Client Certificate for WCF NetTCP Transport binding

We have selfhosted WCF services running using NetTCP:Transport:WindowsClientCredentialType // Set Binding Security. netTcpBinding.Security.Mode = SecurityMode.Transport; netTcpBinding.Security.Transport.ClientCredentialType =…
kevin
  • 45
  • 5
2
votes
1 answer

Calling Net Tcp WCF Service from Claims based SharePoint

I have a windows service that runs a WCF Net Tcp binding service. All binding and endpoint information is set programmatically. _host.AddServiceEndpoint(typeof(IService), new NetTcpBinding(), serviceName); In sharepoint I am accessing this service…
webwires
  • 2,572
  • 3
  • 26
  • 44
2
votes
0 answers

Run WCF Service TCP without being local administrator

I'm trying to start WCF service, listening on net.tcp without the Administrator rights (for client security reasons). I tried differents ports, 808, 5000, but nothing is working. .NET error is : System.ServiceModel.CommunicationException: The…
Rémi Lardier
  • 317
  • 2
  • 14
2
votes
0 answers

WCF: If TCP guarantees ordered delivery why enable reliable session order as true

I have a callback api with oneway = true, netTCPBinding. And service calls callback on client what i observe was that data arrive in out of order fashion! Service: [OperationContract(IsOneWay = true)] SendData(DateTime time, double[] data) void…
s.s
  • 138
  • 8
2
votes
2 answers

WCF vs WCF hosted in windows service for long running task

What is the difference in using WCF with netTcpBinding for long running task, which is hosted in IIS vs self-hosted in a managed windows service for LONG RUNNING TASK?
Dev
  • 309
  • 1
  • 8
  • 24
1
vote
1 answer

WCF service Net TCP socket connection get aborted after 15 minutes, always and regardless of binding configuration

I have a WCF service (not hosted through IIS) and I have another application that communicates with my WCF through net TCP. Everything works great except for long running operations. My WCF may perform tasks such as running queries or backup…
Tarek J.
  • 21
  • 5
1
vote
0 answers

WCF net.tcp binding client occasionally throws COMMUNICATION EXCEPTION

I have created a WCF service, which is currently hosted in a console application. After logging the duration it takes for my client to call the service I realized the following; 1. Time to call service method ranges from a few milliseconds to…
kwabenasei
  • 141
  • 1
  • 4
1
vote
1 answer

WCF on Win Server 2008 and IIS7 with only net.tcp binding hide IIS features

I've installed HTTP Activation and Non-HTTP Activation IIS's features for Framework.NET 3.0 under WCF Activation feature. I'm trying to remove http and https bindings (under default Web Site) from IIS Manager and leave others (net.tcp, net.msmq,…
Nicola C.
  • 2,717
  • 3
  • 18
  • 25
1
vote
1 answer

TransactionAutoComplete set to false cannot be used with operations on callback contracts

A normal HTTP WCF Service is throwing this error when trying to connect to a legacy NetTCP binding. I want to be able to flow the transaction to the service and have that enabled. I am not using a duplex contract so why is it even mentioning a…
guru_fordy
  • 36
  • 3
1
vote
0 answers

WCF nettcp binding over SSL behind load balancer

I understand why the default configuration of nettcp binding to a WCF service through a load balancer is not a great idea. The bottom of this msdn page has the explanation why. But the last line of that section says "For best performance in…
1
vote
1 answer

Can you replace the the standard framing protocol in WCF NetTcp without re-writing the whole transport channel?

I want to use NetTcp but I want to use a custom framing protocol and I can't figure out where the framing is applied in the standard NetTcp stack. I could write a whole new transport channel but that seems crazy if all I want to do is change the…
Adrian Hope-Bailie
  • 2,445
  • 1
  • 23
  • 26
1
vote
0 answers

How to create/use WCF services, so that they are stable in the long term?

I'm trying to create WCF client-server application, which could run for days/weeks without intervention. Here's how the client handles server interactions: static object myLock=new object(); static MyService.IMyService myService; static…
Arsen Zahray
  • 24,367
  • 48
  • 131
  • 224
1
2