.NET API Analyzer : Targeting Deprecated APIs And Cross-Platform Issues

While working with the .NET framework, it is common to come across [Obsolete(“message”)] attribute used in .NET APIs. This would signify an API which is no longer supported or more likely to be deprecated in the near future. With the continuous evolution of .NET, it is very common to deprecate APIs which can be replaced by […]

C# : Task Parallel Library (TPL) with async await and TaskCompletionSource for async I/O operations

Asynchronous operations have long been a part of C# and the .NET framework. We discussed quite a bit about asynchronous programming using the delegate’s BeginInvoke and EndInvoke methods and Event based Asynchronous Pattern ( EAP ) in our earlier posts. These are quite good and enables the developer to introduce asynchrony in their applications, especially […]

WPF : Understanding Resolution Independence and DPI awareness in WPF

The resolution independence in WPF(Windows Presentation Foundation) can sometimes be a little tricky to understand. When we say that WPF is resolution independent it doesn’t straightaway mean that WPF controls will be of the same size across all resolutions. Does this mean that all these talks about WPF being resolution independent are false ? Not […]

C# : 6 Cool Language Features That You Rarely Use

These features were included as a part of C# in its 6th installment – C# 6.0. Relatively easy to master, they bring a new way of achieving the same programming goals. It can be a little hard to keep up with changing language syntax. But then, that’s the field we chose ! The features I […]

C# : Event Based Asynchronous Pattern In Parallel Computing.

In the article discussing the “Asynchronous Pattern” – C# : ASYNCHRONOUS PROGRAMMING USING BEGININVOKE AND ENDINVOKE METHODS, we saw how to use the BeingInvoke and EndInvoke methods to achieve parallel computing. However, this is not very intuitive and requires you to explicitly call the EndInvoke method to get back the result after you asynchronous call […]