Author Archives: Pankaj K

Taking Elasticsearch snapshots using Curator

By | August 7, 2017

This tutorial on taking Elasticsearch snapshots using curator will be divided into sections. One obvious section is how to take snapshots. Other less obvious part will be on configuring a shared directory using Network file sharing on Linux. I will be using a RHEL 7 based cluster of three machines for this tutorial. Once you… Read More »

Authentication in Elasticsearch without shield or x-pack

By | April 4, 2017

UPDATE: Elasticsearch has made security free. Please check it out. Authentication in Elasticsearch without using x-pack or shield. Possible? Yes. In this post I will show you how to do it using excellent readonlyrest plugin written by sscarduzio. The reason I used this plugin was the ease of use as well as the way it… Read More »

Structured Logging using Serilog

By | September 28, 2016

This tutorial demonstrates Structured Logging using Serilog with ElasticSearch serving as the backend log repository. This post is a follow up on the beginner post I wrote on Serilog. If you are a starter on Serilog then I will recommend that you give a quick read to that post. As usual I will start with… Read More »

ElasticSearch Sample Data

By | July 25, 2016

This ElasticSearch Sample Data is to be used for learning purpose only. It is randomly generated but still care has been taken to make it look like real world data. UPDATE: A follow up to this post has been published. I will highly recommend that you have a look at it. I use Elasticsearch 7.2.0… Read More »

Are you missing a using directive or an assembly reference?

By | June 20, 2016

Ever saw this error “Are you missing a using directive or an assembly reference”. Even after adding the assembly? Even when Visual studio Intellisense is not complaining. But still compilation fails.

Simple Serilog Tutorial

By | June 3, 2016

This is going to be a simple Serilog tutorial . I will keep this very brief because already there is enough documentation on the project website. I am writing this Serilog tutorial hoping that it might motivate people to take logging seriously. As usual I will start with WHY followed by HOW.

Faking Getters and Setters of Properties

By | May 19, 2016

This post on Faking Getters and Setters of Properties using FakeItEasy will help you to configure the behavior of the properties of the objects you fake. This is not as apparent as the various techniques on configuring the behavior of the methods of the faked objects. Getters and Setters are as configurable as regular methods… Read More »

Specflow Step Definitions Explained

By | April 22, 2016

This is c# based Specflow Step Definitions tutorial will explore intricacies of step definitions. This post follows the beginner tutorial I wrote before. I will recommend that you go through that before reading this post. Step definitions look simple but they have lot of hidden power. So without wasting any more time, let us as… Read More »

Specflow beginner tutorial

By | April 18, 2016

This c# based Specflow beginner tutorial will just focus on fundamentals to get you off to a quick start. At the end of this post you will be having a working Specflow solution. I will be writing other posts on Specflow which will highlight different aspects of Specflow. As usual I will discuss the WHY… Read More »

Faking hardware using FakeItEasy

By | March 22, 2016

This post on Faking hardware using FakeItEasy is based on a simple premise. You should not suffer just because the function you are unit testing invokes some hardware. Writing hardware/device simulators used to be the way out. But with FakeItEasy, it is easy to fake your way out of this. So Let us see how… Read More »