Category Archives: 16710

WCF with async await logic

I found this very interesting post to get a Task<T> from a WCF call. I change it a little bit to fix a bug and to allow usage of async / await using AsyncCtpLibrary. So I propose this implementation: public static class TaskFactoryExtensions … Continue reading

Posted in 10369, 11417, 16710, 7671 | Leave a comment

SL5 with AsyncCtp: The type ‘System.Threading.Tasks.Task’ exists in both mscorlib.dll and AsyncCtpLibrary_Silverlight.dll

If you use AsyncCtp With SL5, you could have the following issue: The type ‘System.Threading.Tasks.Task’ exists in both mscorlib.dll and AsyncCtpLibrary_Silverlight.dll. So you can’t compile your project if you use Task class! In this case, you could use an alias … Continue reading

Posted in 13461, 16710 | 2 Comments