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
0
votes
3 answers

Anyone got IIS working reliably as a WCF client

I'm trying to get IIS6 to work reliably with a WCF service I have hosted in a separate Windows Service application on the same machine. Users connect to IIS via some HTTP exposed services, which is working fine, and then IIS needs to get some…
sipsorcery
  • 30,273
  • 24
  • 104
  • 155
0
votes
1 answer

WCF Service host using ServiceHostFactory with Multiple Binding

I have created WCF service to host on IIS. I am using ServiceHostFactory method to host my service(using Unity as DI). I want to host my service using multiple binding, over the HTTP as well as over the TCP. I tried giving base address, but its not…
0
votes
1 answer

wcf nettcpbinding An existing connection was forcibly closed by the remote host

Development Environment: Services are hosted under IIS/WAS I have four services developed on my local development. All four of them are working fine when I am accessing them from asp.net application. I am using net.tcp protocol to connect. I have…
BMP
  • 1
  • 1
0
votes
3 answers

WCF duplex nettcp channel not faulting

Problem I have this strange problem. I am hosting a WCF server in a console app: Console.WriteLine("Press 'q' to quit."); var serviceHost = new ServiceHost(typeof(MessageService)); serviceHost.Open(); …
Rajat Mehta
  • 201
  • 3
  • 14
0
votes
1 answer

Binding fails when moved in to constructor from app.config

I am trying to get rid of the app.config file for a WCF project, I need the setting to be hard-coded in to the DLL I am generating. I created my proxy class with svcUtil and the client works fine when I use App.config
Scott Chamberlain
  • 124,994
  • 33
  • 282
  • 431
0
votes
1 answer

Determine amount of space a serialized object transmitted in a WCF netTCP binding takes?

Is there a way to know how much space a serialized object transmitted in a WCF netTCP binding takes? I am getting a The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being…
Matt
  • 25,943
  • 66
  • 198
  • 303
0
votes
1 answer

How to get the caller's URL in WCF netTcpBinding windows service?

I need to get the calling app's URL because the service sends emails that contain links to my app (e.g. click here to view the form). I'm considering just hard-coding the app's URL in 1 place on the service, but when working locally the local host…
Lifes
  • 1,226
  • 2
  • 25
  • 45
0
votes
0 answers

Issue with multiple interfaces in a single service

I am using WCF with NetTcpBinding on a solution where both client and server are windows forms. The service is hosted by one of them. I am using VS.2012. On the server side I have several service contracts (related) all of which are implemented in a…
Lord of Scripts
  • 3,579
  • 5
  • 41
  • 62
0
votes
1 answer

Are client service contracts still autogenerated in WCF 4.0?

I have a net.tcp binding example that apparently dates back to .NET 2.0 runtime version. The client code of the WCF Net.TCP binding example has an interface marked as "System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "2.0.x.x")…
Lord of Scripts
  • 3,579
  • 5
  • 41
  • 62
0
votes
1 answer

Agent based applications using WCF

i'm about to decide on technology choices for an agent based application used in the transportaion systems domain. basically there will be a central system hosting the backend, and multiple agents located across town (installed on desktops) that…
Azwaan
  • 47
  • 1
  • 9
0
votes
1 answer

SilverLight Connect to NetTcp WCF Hosted inWindows Service

I have a WCF Service that Hosted in Windows Service It uses NetTCPBinding and i could connect, i want to implement new Silverlight client to access the service i have walk through the normal way to add service reference, and it was added with…
0
votes
0 answers

Not getting netTcp and wsHttp endpoints when setting "Generate Asynchronous Operations" with service reference in visual studio

I am creating a wcf service with wsHttp and nettcp service endpoints and then adding a service reference to it in a client app and in advanced setting for that service reference checking "Generate Asynchronous Operations" I am finding only basicHttp…
0
votes
1 answer

WCF TimeoutException caused by maxReceivedMessageSize

We noticed that our application which uses netTcpBinding suddenly stopped working. After examining the event log on the server which hosts the service, I found the following warning (one of series of many): Exception information: Exception…
laconicdev
  • 6,360
  • 11
  • 63
  • 89
0
votes
2 answers

Form Authentication on NetTcpBinding in WCF service

I am using WCF service, which have two endpoint WsHttpBinding and NetTcpBinding and the service is using Forms Authentication. Service is hosted on IIS 7. This works perfectly with WsHttpBinding, but fails for NetTcpBinding. It fails on below…
0
votes
1 answer

Error when setting WCF NetTcpBinding to only accept local connections

I am trying to set up a WCF service which only accepts incoming messages/connection from itself. I have been able to successfully create the service and run it and communicate with it using this code to create the WCF Endpoint (not restricted to…
Malcolm O'Hare
  • 4,879
  • 3
  • 33
  • 53
1 2 3
31
32