Questions tagged [contracts]
63 questions
0
votes
2 answers
WCF Fault not being propagated to the client properly
We've got the following WCF Service Contracts:
[ServiceContract(Namespace = "http://example.com", Name = "Service1")]
public interface IService1
{
[OperationContract]
[FaultContract(typeof(Fault1))]
ValidateUserResult ValidateUser(
…

Román
- 1,943
- 2
- 18
- 28
0
votes
2 answers
Contracts With Multiple Arguments
I started coding with contracts in c#. I want to express the following property in c#
ISet> set;
Contract.Requires(!Contract.Exists(set, (e1,e2) => (((e1 != null) && (e2 != null)) && (e1.Item1 == e2.Item1) && (e1.Item2 !=…

DonMushroom
- 442
- 3
- 19
0
votes
1 answer
This service implements '2' contracts. InvalidOperationException
I have a WCF service project that I am trying to get up and running on my local development machine.
When I hit the .SVC from IE8 running in Cassini it works no problem.
When I hit the .SVC from IE8 running in IIS I get the following server…

Maxmanzero
- 309
- 3
- 14