How to create dotnet console application in 3 steps

Introduction .NET core is a Cross Platform Microsoft Open Source framework which supports variety of platforms including Ubuntu, Debian, Fedora, CentOS, RHEL, MAC and of course Windows. You can use either Visual Studio Community or Visual Code. Both are completely free to use. Install .Net Core SDK Download .Net Core SDK based on the platform that you are … Continue reading How to create dotnet console application in 3 steps

Higher order functions for Array in JavaScript

In JavaScript Higher Order Functions are functions which operates on other functions by either taking them as an argument or by returning it. Higher Order Functions basically provides an abstraction over action. Below are list of six higher order functions that I believe are most useful 1. Array.prototype.forEach Executes the provided callback for each items in the … Continue reading Higher order functions for Array in JavaScript

Unable to delete node_modules? Use rimraf!!

If you have done node application development in windows machine often you might have faced issue where the node_modules directory which you created would not delete when you try to delete. Node's approach to package management is often criticized because of its endless nested modules folders on windows. To solve this issue you can use … Continue reading Unable to delete node_modules? Use rimraf!!

Learning TypeScript Part 4 – Classes

Classes Traditional JavaScript uses prototype based inheritance as the basic means of building up reusable components. but this is bit different from the object oriented approach to which we are most accustomed where classes inherit functionality and objects built from these classes. Starting ES6 JavaScript programmers will be able to build their applications using this object … Continue reading Learning TypeScript Part 4 – Classes

Learning TypeScript Part 3 – Interfaces

Interfaces Interfaces are the most flexible way of describing types in TypeScript language. The only job of an interface in TypeScript is to describe a type. While classes and functions will deal with implementation. To define an interface use the keyword interface. Roles of Interfaces Describing an Object Describing an Indexable Object Ensuring Class instance Shape … Continue reading Learning TypeScript Part 3 – Interfaces

Learning TypeScript Part 1 – Getting Started

Introduction Typescript is a open sourced programming language developed by Microsoft. It is a Superset of Javascript and it compiles down to plain Javascript. Typescript offers support for the latest and evolving Javascript features including ECMAScript2015 and future proposals like async. Why Typescript? Typescript provides a way to add optional static typing to our Javascript code. It … Continue reading Learning TypeScript Part 1 – Getting Started