When I create a new instance of a ChannelFactory:
var factory = new ChannelFactory<IMyService>();
and that I create a new channel, I have an exception saying that the address of the Endpoint is null.
My configuration inside my web.config is as mentioned and everything is as it is supposed to be (especially the address of the endpoin...
What are profound advantages that one get when using COM for developing components over the WCF ?? Is there anything that can be done with COM and not with WCF ??
...
Currently reading quite a heavy WCF book. I have used it myself in production just the once, using tcp, worked a charm.
Anyway what are your opinions on this technology, is it here to stay, is it worth the time invested learning all the complex features etc etc?
...
Hi,
I have a simple class in my WCF service that doesn't seem to be showing up properly for the client that accesses my WCF.
My class has 4 public properties that are of type string.
I marked the class with [DataContract()] and each member with [DataMember].
Why is my constructor not visible? Is there a special [attribute] for const...
If I have the following setting in my app.config file. It is a setting I need to make sure my WCF client can negotiate the default proxy server.
<system.net>
<defaultProxy enabled="true" useDefaultCredentials="true"></defaultProxy>
</system.net>
Unfortunately, I can't add to the app.config file in my environment. How do I ensure...
Hi everyone,
I'm having some problems with my WCF server and client connections.
If I use my service and client normally, meaning my client connects and disconnects thru normal operations (myclient.Close()) everything works fine. But in the instance that I have the server running and I use the visual studio "Stop" button to exit my cl...
How to create a WCF application without using the svcutil.exe tool?
...
Hi,
My WCF never worked with wsbinding, but when I switched to basic it worked fine.
What do I have to do to make wsbinding work?
Update
when I say it didn't work, I mean the client was never able to consume the services endpoints.
Do I have to add a username/password somewhere?
...
We currently have a setup like this:
lan\john lan\application1 lan\appService1 lan\appService2
client ------> website ----------> WCF Service1 ------> WCF Service2
So each website/service runs as a different identity account that is setup in active directory. Security checks are based on the identity of the immediate ca...
VS.net creates a template when you create a WCF project.
It adds a class to the iService1.cs file:
// Use a data contract as illustrated in the sample below to
// add composite types to service operations.
[DataContract]
public class CompositeType
{
bool boolValue = true;
string stringValue = "Hello ";
[DataMember]
pub...
Hello,
I have a WCF Service decorated with WebInvoke attributes and WebHttp binding for JSON enabling. The service can be accessed from JavaScript until we try to make it working cross domain. Can you please recommend how to get this to work cross domain?
We've tried to create proxy web handler but it gives "Bad Request" everytime Web...
I have a Windows Console App hosting a WCF service that reads from an MSMQ. When the message size gets to around 7k to 8k the service reads it (i.e. it disappears from the Q) but the appropriate function isn't called. No exceptions thrown. Anybody have any clues about what's happening or where to look to resolve this?
...
Hi,
When building REST web services in .NET, what is the most "RESTful" way of mapping System.ArgumentNullException and System.ArgumentException to HTTP status codes? My first guess would be to use HTTP 400/Bad Request with an appropriate description.What is the recommended best practice when mapping exceptions to HTTP status codes?
...
I have built a WCF load balancer/router to conditionally route any one way service to multiple endpoints all using MSMQ bindings. I have also created a host that uses all the endpoints from the router to accept the service calls. All the endpoint specifies the same contract.
I need each queue (endpoint) to be processed concurrently ...
Hosting a WCF Service Host in a Windows Service really seems to be quite a simple way to go to communicate with a running Windows Service...if you're running 3.0/3.5.
What the easiest way to get the same sorts of things out of the 2.0 Framework if that's what you're stuck with?
...
Is there a good reference, or summary list, of new features in WCF 2.0/VS2010?
I'm trying to do a justification proposal for a project, to migrate from Jabber to WCF.
...
hi all,
im just wondering about data contracts to be sent over the wire in WCF communication. i know for the sake of interoperability it is not advisable (maybe not even allowed?) to send native .NET types as part of a data contract.
I wish to have a service which accepts, as an input to a ServiceOperation, a .NET XmlDocument type. If ...
What is the difference between web reference and service reference in WCF?
Which is preferable in WCF?
...
Hello,
I can handle the process that file part, but before I go crazy, has someone built a simple wcf service & client (running under windows services or IIS) that I can use to upload a file, and download that file back? with the fewest lines of code? (C# or VB)
compression & encryption would be cool, but i'll layer that on later!!
Th...
I'm experimenting with WCF Services, and have come across a problem with passing Interfaces.
This works:
[ServiceContract]
public interface IHomeService
{
[OperationContract]
string GetString();
}
but this doesn't:
[ServiceContract]
public interface IHomeService
{
[OperationContract]
IDevice GetInterface();
}
When ...