C# async & await example for WPF

Async and await are not new anymore but I haven’t used them much for actual work, because my customerbase has lately been in .NET 4.0. The documentation says however that “async programming, that leverages asynchronous support in the .NET Framework 4.5”. However, the MS BCL Team has been kind enough to produce a Nuget package for […]

Read More C# async & await example for WPF

WCF and Threading

This is simply a memo of WCF threading model based on this excellent summary. You want InstanceContextMode ConcurrencyMode Requests processed one at a time, thread safe Single Single Requests processed concurrently, manual thread safety required Single Multiple Each request gets its own instance, thread safe PerCall Single or Multiple Each request whose binding supports sessions (NetTcpBinding, WSHttpBinding, […]

Read More WCF and Threading