Hi!
I'm very happy to new SL3, so i converted an application from SL2 to SL3. My application works fine on browser but i've some problem out of browser: the installer is ok but when i start the application out of browser i have the following problems:
the images in the ClientBin\Images is not show on the application (maybe only the xa...
I've created a Windows Communication Foundation service (the appDomain in this case is a Windows Forms application) that initializes its serviceType class as a singleton:
Starting the service works. Making a call from a client works. But if the service makes a call to itself with the above code ("//Make the 1st call to the service?"),...
Hello,
I have a following problem. A customer requested a web service that returns data in following format:
<status>
<name1>Some name</name1>
...
</status>
But when an error occurs they want to get a following message:
<status>
<error>Error description</error>
</status>
I created a web service using WCF and in order to fulfill ...
I have a .NET WCF Web service working great when called from another .NET app. Now I was trying to build a Java client to test the service but one of the methods won't work.
I try to send a List of updates. The complex type is:
<xs:complexType name="ArrayOfRegisterUpdate">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="...
You're at the service's end of the wire and you don't know your clients.
Why would you choose one over the other?
...
We're planning a system running on Windows/.Net 3.5 that has a number of "services" that need to run in the background. Some will be active all of the time, but some will only be called occassionally and can be stood-up on demand.
As far as I can see, my options are:
Windows Services - always running(?)
IIS hosted something - called o...
How bad is it? I have read countless articles and never created abstract DataContracts with behavior before, but it seems that doing so will solve an issue I am having that will prevent me from creating factories everywhere to determine a subclass implementation. My question is, will I be punished if I decide to add behavior to my data c...
i wanna add a service behavior(or anything u'll suggest) that will automatically insert the types from dll to the service known types of the service
is it possible? how?
...
Using VS 2008 & .NET 3.5 SP1:
I am using WCF to allow clients to connect to a service that reads and writes database entries using Entity Framework. By default the entities that are generated automatically from the database have the DataContract attribute applied.
Unfortunately many of the fields are exposed are not meant for consumpt...
I am inexperienced in WCF so this question may be real basic...
I have a WCF service hosted in IIS of a server named "Server1". This server is aliased and visible from the open Internet as ServerAlias.mydomain.com.
While developing the consumer application, I add a service reference to the service in Server1 and deploy it. When executin...
I have a WCF service. I can return a concrete class without a problem, but returning a reference to an interface causes the following issue.
CommunicationException occurred
"The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlyin...
I have a complex type:
[DataContract]
public class CustomClass
{
[DataMember]
public string Foo { get; set; }
[DataMember]
public int Bar { get; set; }
}
I then have a WCF RESTful webservice that has this in it:
[OperationContract]
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMess...
I am trying to automated the testing of a reporting website. I need to verify that the content of a datagridview is as expected for the reports. The datagridview will display column names and datarow results returned from an SQL database.
I am thinking that the meat of the application which is stable is behind a WCF facade, so I should ...
as simple as i can:
i have a WCF service with a private constructor. if i'm not wrong, constructors must be parameterless in WCF and the parameter i need is the caller's name (or caller's method name), so i can assign a few readonly fields.
so, the question is: is there a way that i can get the caller's name -- or the method that invok...
I'm using WCF to let multiple peers connect to each other using the NetPeerTcpBinding.
Is there a way to contact a single peer in this mesh?
Preferably I would like to contact this peer transparently, so that the receiver simply continues to listen to the channel it always has, while the sender jumps through some hoops to deliver the m...
We have a WinForms application in C# 3.5 (SP 1). We would like to restrict the application to one process in memory with multiple window instances. We are not looking for an MDI approach, but to have separate main form instances without launching multiple application processes.
We are evaluating three approaches:
Windows Messages
C...
Can any recommend a good book for learning WCF? Ideally, the .NET 3.5 version.
...
Hello all,
I am developing a small application using silverlight 3.0 beta and an aspnet web application. I've created a silverlight enabled web service (.svc). I am able to call the service via silverlight, when debugging I can see that the call successfully emits in the server side, but when it's time for the server to return the calcu...
I have WCF endpoint exposed as defined bellow,
<service name="MyApp.Server.Endpoint.Orange" behaviorConfiguration="MyTio.Server.Endpoint.OrangeBehavior">
<endpoint address="" binding="basicHttpBinding" contract="Host.Server.Contract.IMyAppApi" bindingNamespace="http://host.com/myapp">
<identity>
<dns value="localhost"/>
...
Has anyone ever tried to use custom binding with SSL in a WCF web service? I've seen a number of examples on how to do this with basicHttpBinding and wsHttpBinding but the equivalent always fails for customBinding. Specifically what I'm currently working with (the most successful configuration yet) looks something like this:
<system.s...