When using Autofac for dependency injection in my ASP.NET Core project, I encountered a `NullReferenceException` when I tried to implement property injection. After some investigation, I found the i
Normally, when we use Postman to test an API, we won't see CORS issues occurring. This is because Postman is not a browser, so it isn't limited by the CORS policy. However, there's a handy way to te
During my Front-end journey, I got an challenge where I need to fix a performance issue related to a statistic table. To add context, we had to display large amounts of data without pagination on a
A few scenario that I've met when reverting code using git. ### Scenario 1: Undoing Changes in the Workspace To discard changes in the workspace and return to the original state, use **git checkout
In Vue 3, `ref` and `reactive` are two common ways to declare reactive data. When I started learning Vue 3, I was told that `ref` is typically used for primitives like numbers or strings, while `rea
At times, we may need to switch between different versions of Node.js. This can be easily done using a tool called nvm (Node Version Manager). ### Installation [Github Repo](https://github.com/nvm-
The goal of this guide is to quickly build a web server using Node.js, Express, and MongoDB. General Steps: 1. **Set Up Express Server in index.js** ```js const express = require('express') const