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 […]

.NET Framework 4.8 : Invoking ToolTip on Tab Key Press Or Focus Using a Keyboard

If you work with Windows based applications using the .NET framework, tooltips would be a common area you have worked in. Normally, the tooltip gets invoked when you have a mouse pointer hover over the control for which you have configured it. With .NET framework 4.8, Microsoft has come up with a subtle change that […]