Service Contract Overloading

There are 1 entries for the tag Service Contract Overloading

Overloading di un Service Contract in WCF

Primi utilizzi... primi problemi... Stavo pubblicando il mio primo servizio con WCF è IIS mi ha detto: “Cannot have two operations in the same contract with the same name [......]. You can change the name of one of the operations by changing the method name or by using the Name property of OperationContractAttribute.” L’overloading rimane possibile... basta assegnare un nome differente nella parametrizzazione dell’attributo: <ServiceContract()> _ Public Interface IMyCalculator <OperationContract(Name := "AddFloats")> _ Function Add(ByVal operand1 As Single, ByVal operand2...

«luglio»
domlunmarmergiovensab
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789