Catch the Dot

  • Check If the Screen Saver Is Running Or Not?

    Although its rare but at times while building desktop based applications, we might come across situation wherein we are asked to handle “Screen Saver” operation i.e. perform some logic based on whether the “Screen Saver” is on of off. I found the following code snippet on internet almost two years back. I would like to thank the original author of the code. It’s been long time and its not possible for me to search for the original author of the code.

  • Asynchronous Web Api Action Methods

    In one of my recent WPF project, we made extensive use of async-await pattern. Async-await pattern greatly simplified the call-back and continuation based code required for keeping the UI responsive. In WPF, the pattern for implementing async-await is to invoke the IO/CPU intensive code in a background thread and attach the continuation logic on the main UI thread. In WPF, since we have a dedicated UI thread that controls all of the UI elements, using async-await is really helpful in keeping the UI responsive without having to write complicated call-back based code.

  • Podcasts For Developers

    Podcasts are a great way of utilizing your time while you are on the move i.e. driving car or riding in a bus/train. If you are unlucky like me, who has to spend couple of hours each day travelling between office & home and vice versa, then listening to podcasts while you are stuck in traffic can be of great help. Not only are you learning something new but it also helps you in keeping calm and makes the journey appear comparatively shorter.

  • Configure Windows Live Writer for Asp.Net Weblogs

    Every time I change my laptop, I had to remember all the steps that are required for configuring windows live writer. Given that live writer is not being maintained anymore, finding its genuine download link itself becomes a challenge. In thins blog post, I am going to bookmark for myself, what are all the steps required for configuring windows live writer for blogging.

  • Pawan Mishra

    Pragmatic and passionate developer with 7.5+ years of experience in developing a wide range of application types in healthcare & financial domain.

  • WPF MVVMLight Toolkit & Capturing Control Events

    If you have worked with MVVMLight toolkit framework, then you must be familiar with the RelayCommand pattern for processing control commands. For example, if you have to handle the button click event using MVVMLight framework i.e. to not have the code-behind button click event handler but instead call some method in your ModelView class, then you can do it easily using the RelayCommand pattern. Below is a sample example :

  • Git : Rename file with difference in casing

    In this blog post, I will explain on how to properly rename a file with difference in casing using git mv command. Before that first let us understand, why difference in casing is such a big thing when it comes to version control systems.

rk.pawan@gmail.com | +91-9962988132 | LinkedIn | Facebook | Github