I am currently stuck in the design of this solution.
The data layer design consists of the following:
Recipe (parent high level object)
Language Detail (name, description by language) (many)
Headers (many)
Steps (many)
Ingredients (many)
Quantities (many)
Procedures (many)
Notes (many)
The challenge that I am having is how to ...
With WCF, how can I determine who is connecting to my server?
Background: I have a set of WCF clients and servers. I suspect one client is pointed to the wrong server, so I want to log all the connections to that server. I don't know which client it is, so I have to check it on the server side.
...
I'm not certain where the error is resulting (from silverlight, from wcf, something else...) but, I have a WCF service being called from Silverlight. The method returns a class, with a property that does not have a setter. This throws an error. If I add a setter to the property then it does not give an error.
The error is the usual impe...
I am verifying my login authentication using ASP.net webservices. But the client requested to move to WCF.
I need to know in what way WCF differs from ASP.net webservices.
What are the advantages for me to use WCF than ASP.net webservices.
...
I've got an app which is using a WCF service. Now I'd like to add unit tests to the app.
For some cases I need to mock the WCF service, since getting the desired behaviour from the service sometimes is tough (e.g. service throws special exceptions).
I could add yet another interface to the wcf client, but this seems a bit silly, since ...
From a web service (WCF), I want an endpoint to take 10 seconds to finish.
Is there a way I can do a thread.sleep(10); on the method?
...
Whats the best way handle exception from a WCF service? How can you throw the exception from a WCF service?
...
After googling a bit there is no definite answer of whether Visual Studio 2008 uses svcutil.exe or not? Visual Studio 2005 did use it, but do the RTM versions of Visual Studio 2008 use svcutil? A few blogs say it doesn't (and make it seem surprising)
http://tinyurl.com/6wp2kr
http://tinyurl.com/ayb36h
http://tinyurl.com/8nqovx
and o...
How to communicate between 2 WCF services hosted on 2 different machines.
...
Anyone had any luck integrating StructureMap (DI Framework) with WCF?
I can return the default instance in the constructor of my WCF service like this, but obviously it is not ideal.
public MemberService()
{
this.memberRepository = StructureMap.ObjectFactory.GetInstance<IMemberRepository>();
}
I have seen this (http://www.lostec...
I've created a WCF service based on an Entity Framework model. When I consume the service from a console app, a WinForm app, and a WPF app, everything just works. I can see the entites and can add/delete/etc. However, when I try to consume the same WCF service from a web app, I get errors stating that the entities are not recognized. ...
I have been working on a WCF service library where hopefully all the business logic will end up living. The problem that I am running into is that sometimes I have to make quick fixes to a service and in order to apply those fixes I have to stop the Windows Service, replace the service dll and then restart the Windows service. This is go...
I'm confused with WCF and other web services (such as asp.net ASMX,.net Remoting),can anybody tell me what is difference with WCF and the others and when should I use it, thanks!
...
I want to develop a multi-server clustered framework that will work similarly to the steps below for message flow.
From Client
Gateway Server Recieves Message
Gateway Server sends an ACK Message (UDP)
Message is custom deserialized from binary into an object via a factory
Message is then routed to a secondary server in the cluster (co...
I’ve just created a WCF service/client and it all works fine when running on the same machine. But can’t figure out how to configure it to run on different machines. Do you know how?
At the moment the URI is set to http://localHost:8000......
But I think I want something like net.tcp://MyServer:8000…..
Any ideas would be great.
Than...
We are looking to implement Optimistic locking in our WCF/WPF application. So far the best way I've come up with doing this is to implement a generic Optimistic which will store a copy of the original and any changes (so it will store two copies: the original and modified) of any value object that can be modified. Is this the best way of...
I'm using the ChannelFactory in WCF to call into a REST service and I want to determine whether the server returned HTTP 200 or 201 in response to a PUT call. Currently, the call succeeds, but I can't determine if my object was created or updated. How can I do this?
...
I wish to test and observe timeout behaviours between a WCF client and service host. For receiveTimeout and sendTimeout, it is probably easy to transmit a large byte stream that takes more than a few seconds and set those timeout attributes to ridiculously low values.
However, since there is nothing that can be done beyond the calling o...
I am developing a WCF web service which has become quite bloated. What techniques do you use to split up the implementation of the contract?
...
I am using WCF as a client for a java web service. I have not control over the server side.
In the response I get from the web service there is no xmlns attribute on the first element inside the soap headers. Because of this WCF returns null as the result of web service call.
Apart from the missing xmlns the response is perfect and if...