In this post, I will show you how destructuring JavaScript objects and deep assignment works in JavaScript. This is the continuation of my previous post Destructuring javascript array and its different usages. Destructuring JavaScript objects is very useful. I can use it for a deep object structure as well. In this example, I wanted to […]
Destructuring javascript array and its different usages
One of the new features in ES6 is the ability to destructing assignment. Destructing is an operation that you might have seen in other languages like Python or Ruby. Destructuring operation allows us to assign value to a set of variables by destructing it and doing pattern matching. A complex data structure like an array […]
Difference between var, let and const in JavaScript (ES6)
In this post, I will explain the difference between var, let, and const in Javascript. I will be using a visual studio code for the demo purpose. This module is part of variables and parameters which is part of JavaScript Fundamentals for ES6. These features are designed to make JavaScript code easier to read, write, […]
Microsoft Azure Developer: Create Serverless Functions in Azure Portal
Create Serverless Functions in the Azure Portal. Azure functions have the capability to greatly speed up your development, reduce your cost, and allows you to automatically scale to meet the high demand. What is Azure Functions? Functions as a Service (FaaS) – A platform for running “functions”, which are nothing but your code running in […]
How to Enable/Disable TLS 1.0, 1.1 and 1.2 in Windows Server using IISCrypto tool
Let’s take a look at how to Enable/Disable TLS 1.2 in Windows Server using the IISCrypto tool. I will also show how to test TLS 1.2 using some clients like Web Browser Firefox and IE. What is IIS Crypto ? IIS Crypto is a free tool used to enable or disable protocols, ciphers, hashes, and key […]
Implementing ISO 8601 date time format in Angular
In this post, I will show you how to Implement ISO 8601 date time format in Angular. Formatting a date-time in a client-side application like Angular is always a challenge. Are you looking for an unambiguous calendar-and-clock format that is internationally understood? It’s time for ISO 8601. From ISO.ORG Read more about ISO 8601 DATE AND TIME […]
Implementing custom validation using IValidatableObject
I recently started Implementing custom validation using IValidatableObject in my DOT NET CORE application. We often use data annotation for simple validation for the properties in our model class. I was wondering how to validate a particular property against some data in the database. I’m happy to know that IValidatableObject can be used to do […]
How to use TLS 1.2 in ASP.NET Core 2.0
In this short post, I will show how to use TLS 1.2 in ASP.NET Core 2.0 and the above version. Why TLS 1.2 ? Client-Server applications use the TLS protocol to communicate across a network in a way designed to prevent eavesdropping and tampering. Since applications can communicate either with or without TLS (or SSL), […]
How to remove the server header from ASP.NET Core 3.1
In this post, I will show how to remove the server header from ASP.NET Core 3.1. The fix is the same for other versions as well. Are you looking for more security features from the below list to implement in the ASP.NET Core application? content-security-policy x-content-type-options: nosniff x-download-options: noopen x-frame-options: Deny x-ua-compatible: IE=edge,chrome=1 x-xss-protection: 1; […]
How to apply various Security Feature in ASP.NET Core application
In this post, I will show How to apply various Security Feature in ASP.NET Core application. In today’s world, the attacks against internet-exposed web apps are the top cause of data breaches that is why Web application security is crucial. There is various important security measure one should implement in a website or in a web application. I […]