Caching in Node.js with Redis: A Beginner’s Guide
Caching is a technique to store frequently used data in a temporary storage so that future requests for that data are faster. In Node.js applications, caching can help improve performance and reduce the load on your database. One popular tool
Bootstrap Templates, Grid System and Media-queries
Bootstrap Templates, Grid System and Media-queries What is Bootstrap? Bootstrap is a powerful toolkit. It is a set of HTML, CSS, and JavaScript tools for making and building websites and internet applications. It is a free and open-source project, hosted
Collections in C#
Collections in C# Arrays Arrays are useful for creating and working with a fixed number of strongly typed objects. Problem with Arrays: 1. Fixed length 2. Insert similar data type elements Collections Collections are used to create and manage groups
Authorization Attribute Validation Issue
Authorization attribute validation Issue: 404 status code is returned instead of 401 status code In my application, I was using an API service to be used by external applications, where I needed to implement the authorization of valid requests by
Progress Bar Using AJAX/PHP
Progress Bar For Large Uploads Using AJAX/PHP Problem: When large files are being uploaded, a server at the back takes time to upload the same file. Users have to wait irrespective of knowing, whether the file is even being uploaded
Best Practices for Logging in Node js
Collecting Information or data from the system and storing it in a specific file is called logging. It may contain information or data for short or longer periods. Logs are the only way to troubleshoot an issue which the user
NodeJs Callback – Asynchronous Functions
NodeJs Callback NodeJs is an open-source server environment and it is free. It enables javascript to run on the server-side. It runs on various platforms(Windows, Linux, Mac, etc.). Callback is asynchronous equivalent code for a function. A callback function is
Auto-Renew “Let’s encrypt” SSL Certificate using certbot
Auto-Renew “Let’s encrypt” SSL Certificate using certbot Make sure Domain is pointed to the server and should only be using IPv4 version. IPv6 will not work and you must have pre-configured the domain in apache configuration and make sure your
Persist Data Using AsyncStorage in React Native
Persist Data Using AsyncStorage in React Native There are various ways to preserve the data in React Native but AsyncStorage is the most recommended way to persist data in your React Native applications as it is a built-in feature. AsyncStorage
Create a drop-down with search capability using Devextreme components
How to Create a drop-down with search capability using Devextreme components Many of you might have seen a drop-down menu with a search capability that appears in Gmail on Move To Button click as shown in the screenshot below. Similarly
