Goal
I would like to be able to both host and connect to a vanilla sockets server via WCF, within the hosting framework I am devising. I want to be able to use WCF to codify the transport and protocol communications that have to be manually managed by sockets programmers today. This would allow me the ultimate interoperability with Li...
I'm working on a WCF service that will be communicating over net.tcp to n instances of a client app (that is being developed by another programmer in my office).
At the moment I am using net.tcp without any security as I felt setting this up at this stage wasn't necessary, at least not until we are closer to rolling out.
During the de...
So, I have a WCF service that is listening on both net.tcp and net.pipe. I've generated a WCF proxy client, and I'd like it to be able to connect via tcp or named pipe. I don't want the config in app.config, but in code.
The WCF client will get the endpoint address at runtime, so something like "net.tcp://mymachine:10001/MyService" or "...
I have a third party application, built with WCF. It is installed as a windows service and it supports wsHttpBinding and basicHttpBinding by default.
Is there a way to switch to a more optimized binding such as tcpBinding or named pipes?
I will be consuming the service within same server so named pipes is an option.
I want to know i...
Due to deployment restrictions, we can't deploy WCF on the client-side (yet) but would like to use it on the server-side.
I am interested to know if it is possible to use WCF on the server but consume it with .NET remoting on the client side. I don't have any problems with using specific bindings, transfers or protocols on the server si...
I have 2 separate java services that use a complex type that is a exactly the same but takes an email object as a parameter like:
class Email{
Description{get;}
Address{get;}
}
The services look something like this:
emailBasketBallTeam(email);
emailTennisTeam(email);
Is there a way that I can specify a contract for the em...
Hi,
I have a java webservice which connects to a .Net 2.0 client.
I have a requirement to write an equivalent of the Java service in .Net 3.5 WCF.
It is desirable to be able to simply plugin in the WCF service without changing the client.
After a lot of trial and error (http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/efad0851-b...
What is the default value for closeTimeout in WCF's netTcpBinding?
...
I just discovered, quite by accident, that a WCF service hosted in a Windows Service ill work with a HTTP binding. It seems to implement its own web server, but I have never seen this capability mentioned anywhere, and can't find any documentation on what the capabilities of the HTTP listener are (in terms of worker threads, etc.) Anyo...
I'm running into a weird issue with my WCF Service using WS binding. When I configure it with no sessions (security/reliable) it works just fine, but not so with sessions. For example when I configure with security (message security, windows credentials), I get a timeout after 10th or 11th call. My service calls another WCF Service but, ...
Hi!
We host a WCF webservice on Windows Server 2003. This server only has 2 internal IP's. We want to expose the service externally. This is done through the firewall that maps an external IP to the service.
So, I would need to modify the service to display that external IP for the internal links. This is not an issue since it should o...
Hi,
I am currently working on a small project, where I need to send a potentially large file over the internet.
After some debating I decided to go with the streaming option instead of a chunking approach. The files can potentially be very big, I don't really want to specify an exact upper bound, 2GB maybe 4GB, who knows.
Naturally th...
I am using basic HTTP binding.
Does anybody know which is the best binding in terms of performance as thats the key issue for our site?
...
I'm trying to bind a Silverlight DataGrid to the results of a WCF service call. I was not seeing the data displayed in the grid, so when I ran through the debugger, I notice that XDocument.Descendants() was not returning any elements even when I was passing in a valid element name. Here is the XML that is passed back from the service:
<...
I was checking out streaming in the Programming WCF Services book, and I spotted a line about configurating.
You will need to configure the binding on the client or service side (or both) per required stream mode
So what is this?
How I know where I should configure them?
And is this a common thing with WCF?
Seems bit weird to me....
In order to get a WCF service working with JQuery I have added a WebInvoke attribute on the operation contract to control the JSON serialisation as follows:
[WebInvoke(Method = "GET", ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Bare)]
Is there a way to control this serialisation via the service bindings in ...
I have an asynchronous WCF service using nettcpbinding. And I send a bunch of requests to it and get result by invoking EndDoWork() in my callback. If EndDonWork throw a exception once, all the invocation after that will throw exception said: communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communicat...
Hi there, I've run into a problem. I'm a little new at WCF so any help would be greatly appreaciated.
Here's my code:
public static void StartHosts()
{
try
{
// Create a new host
ServiceHost host = new ServiceHost(typeof(ServerTasks));
List<IPAddress> ips = new List<IPAddress>(Dn...
I am trying to send an array of about 50 elements to a WCF service method, but I'm always receiving a (404) Bad Request error.
I think that it has to do with the message size or something like that, because if I send an empty array it works.
I did some research and added some stuff in the web.config of the WCF but I still can't manage ...
Here is my scenario:
I have a proxy that actually has the SSL Cert installed and this sits in front of a load balanced web farm. Each IIS server does not have SSL so I can't use transport security via wsHttp binding. I have not investigated basicHttp because we want to provide SOAP 1.2 going forward w/ this solution. In addition to t...