Book Review: Threading in C# by Joseph Albahari
Threading is a complex subject, it is easy to get yourself entangled in threads which don’t behave as you expect...
Study Notes for Microsoft Exam: Developing ASP.NET MVC Web Applications (70-486)
Took Microsoft Exam 70-486 which part of MCSD certification. I spend about 2 weeks studying the material and took some...
Async / Await and SynchronicationContext (C# .Net)
Following innocuous looking async / await code will cause deadlock. To understand why, lets go into what await does in the...
Creating and Consuming Async methods (C# .Net)
The code we want to run asynchronously could either be CPU-bound or IO-bound. CPU-bound code keeps the CPU busy, requiring...
Keeping UI Responsive (C# .Net)
The User Interface (UI) becomes unresponsive when a time taking operation is executed during an event. Consider the following button...
Convert C# code to JavaScript
Update June 2019: Five years on, each one of the following projects is either discontinued or stale for years. While...
Developed Custom .Net Font Dialog
Developed a Custom FontDialog as an alternative to the standard .Net FontDialog. Key advantage of CustomFontDialog is the full control over look and...
Quick and dirty way of creating Numeric TextBox in .Net (C#)
Handle KeyDown event of the TextBox and set the e.Handled property to true if the character is not numeric. ...
How to embed chrome browser in .net application
Chrome browser can be embedded in native application taking a hybrid approach to development where application is partly developed in...
Programmatically scroll Listbox in .Net (Windows Forms, C#)
It seems that .Net library doesn’t provide any way to scroll contents of ListBox through code. Selecting an item by...