RSSAmplifier

Blog

Ratan Parai

An open notebook of stranger things that I encounter in my everyday life.

ratanparai.comRSS feed ↗10 posts

Latest posts

How to limit only one thread for network operation for update cached data

Learn how to use Interlocked.Exchange to ensure only one thread performs network operations for updating cached data.

Add request id to all asp.net core MVC REST API response

In REST API, most of the time we only send request ID when the calls fails with 4XXX or 5XXX status codes. But it is a good practice to send the request ID with every response. This can be useful for debugging issues where successful response doesn’t produce the expected result from the backend service.

Part one: Getting started with asp.net core MVC

This is part one of the tutorial series Zero to Hero in Microservices with dotnet core.

Zero to Hero in Microservices with dotnet core - Introduction

In this series of blog articles, we are going to start from a basic dotnet core MVC application and then improve it to full blown Microservices with state of the art Microservices patterns and practices. To follow this blog service, you will need those tools-

Functional Testing of ASP.NET core 2.1 MVC Application

In ASP.NET core 2.1, setting up functional testing project got much easier with the release of [Microsoft.AspNetCore.Mvc.Testing](https://www.nuget.org/packages/Microsoft.AspNetCore.Mvc.Testing) nuget package.

Writing unit tests for C++ with Bazel and GoogleTest

On my journey to be a better programmer, I stated to learn C++. This is how I am using bazel to build my project with google test integration.

Compile TaskWarrior in Ubuntu

Although you can install `TaskWarrior` from `Ubuntu` package manager, but it doesn't have latest version. So you have to download source code and compile it.

Java application with code coverage report using gradle

Although we can use IDE for creating new java projects, if we use a build tool like `gradle` and create the project from ground up then not only we have more control, we can also change between IDEs as we feel the need.

Responsive image on jekyll

Responsive image make your website faster by loading the image that is required for the screen. Loading high quality image in every screen size is not optimal. Also showing a low quality blur version of the image while the real image is loading also improve the readability. Installation jekyll-responsive-image plugin First, add -

Change ssh port of CentOS 7

Change ssh port of CentOS 7