30 March 2014

Task-based Async Support


WCF Configuration Validation

In old version of WCF, configuration files are not validated while building the project. But in WCF 4.5 while compiling the project, validation errors will be displayed as warning message in visual studio.


Task-based Async Support

In WCF4.5, by default Task based async service operations methods are generated while Adding Service Reference. This is done for both synchronous and asynchronous method. This allows the client application to call the service operation using Task based programming model.

In WCF 4.5, if you select the “Generate asynchronous operations” while adding service reference. Old form of async operations methods are created in the proxy class




Service Client proxy generated using WCF 3.5


      
Service Client proxy generated using WCF 4.5

  





No comments:

Post a Comment