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

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

C# : Asynchronous Programming Using BeginInvoke and EndInvoke Methods

There are numerous instances in software development where you would find yourself in a need to build responsive apps, an important part of which is the asynchronous way in which you would need to do certain operations like I/O, intensive DB reads or probably making a call to a third party web service hosted somewhere […]