1

Will it make any difference if I change the operation contract of methods having no return value by [OperationContract(IsOneWay=true)]

I know the differences between both (OneWay and Response/Request) MEP(Message Excahnge Pattern).

but want to know if I change this will it boost the performance?

Thanks

Aliostad
  • 80,612
  • 21
  • 160
  • 208
BreakHead
  • 10,480
  • 36
  • 112
  • 165

1 Answers1

3

Yes it will - and more importantly boost scalability too. Client is released as soon as call is taken up at the server and client does not have to wait until processing finishes. This helps the resources at both client and server to be released as soon as possible.

More info here.

Aliostad
  • 80,612
  • 21
  • 160
  • 208
  • Could you please answer http://stackoverflow.com/questions/9702379/queuing-in-oneway-wcf-messages-using-windows-service-and-sql-server ? – LCJ Mar 14 '12 at 12:55