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...

«settembre»
domlunmarmergiovensab
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011