Introduction to Blockchain

What is a Blockchain? The answer is that – we can say that it is no more than a distributed database. We can think of it as large network of computers where everyone can securely access data and can execute transactional code. All transactions are stored in blocks of data. We can also say that Blockchain gives us a trustworthy way to store data in scenarios where there is no trust.

We all have heard about cryptocurrencies like Bitcoins. A crypto currency is the one which only exists as digital currency. It does not hold any underlying value.

History of Blockchain

Concepts of Blockchain

Blockchain is a global singleton. We can consider Blockchain objects as global singleton instances. Blockchain is natively object-oriented where code and data resides together. However, objects are securely separated from each other.


How does Blockchain work:-

The transactions are sent to a large peer to peer network of computers. These are generally distributed all over the world. Each computer is called a node and they all have the copy of existing data. Then the transactions are executed and validated. This ensures that all nodes work as the same set of rules.

The core of any Blockchain resides in the concept of Hashing. Hashing is basically to execute a mathematical algorithm that creates a result with a given length regardless of the input given. Hash can be considered as digital fingerprints. Hashing is a one-way function, meaning the function will always return the same result given the same input, but you can never regenerate the input based on the result of the hashing algorithm.

A block in a Blockchain consists of data and its resulting hash. If we go ahead and change any data in the block, the hash will change and the block will be invalid.

Blockchains can be either public or private.

Major Offerings:-

There are many emerging Blockchain implementations, but currently the major are the ones shown below:-


In this blog, we saw what Blockchain is and how does it works.

Sharing is Caring!

Getting started with SharePoint Framework (SPFx)Extensions

In this blog, we will learn what SharePoint Framework (SPFx) extensions are and what its different types are. We know that SharePoint Framework is a page part model. SPFx is a modern web-based development that is built on modern technologies, node-based development, SCSS, Typescript and we can use any JavaScript framework like React or Angular.

We know we can create web parts using SharePoint Framework. We can also change basic layout of header or footer using SPFx extensions.

Types of SPFx extensions

We can create 3 types of SPFx extensions.

  1. Application Customizers
  2. Field Customizers
  3. CommandSets

Application Customizers allow you to change fixed areas on a page or inject logic using JavaScript. Application Customizers provide access to well-known locations on SharePoint pages that you can modify based on your business and functional requirements.

Field Customizers allow you to control the rendering of any field in a SharePoint List.

CommandSets allow you to put custom commands in the toolbar.

SPFx Extensions

Find Duplicate Records in SharePoint List using CSOM

In this article, I will explain how can we find duplicate records in a SharePoint List. This has been implemented using Managed Client Side Object Model (CSOM).

You need to include below references to execute the code:-

  • Microsoft.SharePoint.Client
  • Microsoft.SharePoint.Client.Runtime
  • Microsoft.SharePointOnline.CSOM

Below are the screen-shots of the users which are duplicate in the List. In my case, List name is “Employee” and I am checking for column “EmployeeID”

Below is the screenshot of the output showing duplicate values:-

Code – Get List Duplicates

Happy Coding !