When a webpage sends a request, it usually uses HTTP Cache. The Request.cache property in the Fetch...
The HTTP Content-Type header tells the server or browser what kind of data is begin sent and how it's...
Back in the day, we used XMLHttpRequest to call APIs. Nowadays, we use the Fetch API instead — it...
What these terms actually mean Automatic Memory Management Allocating Memory Releasing...
What these terms actually mean Common Language Runtime (CLR) Managed Code Unmanaged...
When we register services in the DI (Dependency Injection) container in .NET, the service instance...
Creating custom middleware in .NET is straightforward and powerful. Here's a quick step-by-step guide...
When I was working with Azure.Identity.ClientSecretCredential for authentication, I noticed something...
When I created a new ASP.NET Core Web App (Model-View-Controller) project in .NET 8, I found there...
If you have a SQL Server environment and want to confirm if your client machines can connect to the...
I tried to log in to SQL Server but got a following error A connection was successfully established...
When I tried to log in to SQL Server using the sa account, I encountered the following error Login...
When I created a new ASP.Net Core Empty project in .NET 8, I was surprised by how little code it...
Dapper is a lightweight and agile ORM package for the .NET development platform. It allows executing...
After performing a source code vulnerability scan on the website, the report indicated the issue...
在操作 TypeScript 的 Array...
In ASP.NET application, we can store dynamic data in the configuration file, specifically in...
Typescript 的 Utility Types 有很多,Partial 就是其中之一 Partial 的描述官方是這麼說的 Constructs a type with all...
當程式要佈署在具有 IIS 的主機上時,需安裝程式要使用的 .NET Framework 版本,但主機上究竟有沒有程式需要的版本,可以使用幾種方式查詢,最快的方法是使用 Power Shell...
使用其他語法來替代中止 forEach 以達成目的 前篇談到如何中止 forEach...
淺談 Typescript 中的 some 和 every...
紀錄 Typescript forEach 如何跳出迴圈 C# 寫習慣之後要寫 TS 有些不習慣,在 TS forEach 中是不能使用 break 或 continue,只能使用...
一開始學習 SQL 語法時不外乎是 CRUD,由於需求的關係,要將新增後產生的 PK 傳回到後端,或者是將 PK 拿去處理別的事,如果經驗值不夠或者還沒深入進階實務,會直覺地使用 SELECT 加上...
近期開發專案需要使用 SQL 產生西元日期搭配流水號作為單號,例如 P221027001,若當天已經存在第一筆單號,則找到當日最大的單號,將流水號遞增產生下一筆單號,例如...
今天要記錄關於 Windows 內建功能—任務排程器(Task Scheduler) Task Scheduler...
#100.Same Tree Problem statement Given the roots of two binary trees p and q, write a...
#94.Binary Tree Inorder Traversal Problem statement Given the root of a binary tree,...
#83.Remove Duplicates from Sorted List Problem statement Given the head of a sorted...
#67.Add Binary Problem statement Given two binary strings a and b, return their sum as a...
#66.Plus One Problem statement You are given a large integer represented as an integer...