Touseef KhanComparable vs Comparator in Java: Key Differences and When to Use ThemIn Java, sorting collections is a common task, and two interfaces, Comparable and Comparator, are designed to facilitate custom sorting…Nov 10Nov 10
Touseef KhanHow to Test the Performance of a Web Application or APIIn today’s fast-paced digital world, performance is crucial for web applications and APIs. Poor performance can lead to user…Nov 7Nov 7
Touseef KhanUnderstanding Essential HTTP Methods for Web DevelopmentHTTP (Hypertext Transfer Protocol) methods are the foundation of data communication on the web, playing a crucial role in how we interact…Oct 31Oct 31
Touseef KhanGit Commands Cheatsheet: Your Ultimate GuideGit is an essential tool for developers, enabling efficient version control and collaboration. Whether you’re a beginner or an experienced…Oct 23Oct 23
Touseef KhanWildcard Case Insensitive Search using AEM Query Builder APII have been struggling with a wildcard case insensitive search in query builder API so I thought of sharing its solution as searching for…Sep 21Sep 21
Touseef KhanUnderstanding Cross-Site Scripting (XSS) Attacks and Prevention in .NET CoreCross-Site Scripting (XSS) is a common security vulnerability that allows attackers to inject malicious scripts into web pages viewed by…Aug 11Aug 11
Touseef KhanA Deeper Dive into JavaScript PromisesJavaScript can sometimes be confusing, especially when dealing with tasks that take time to complete, like fetching data from an API. This…Aug 11Aug 11
Touseef KhanRegistering Multiple Services with a Single Interface in .NET CoreIn .NET Core, dependency injection is a first-class citizen. It’s built into the framework and it’s easy to use. But what if you have…Jul 74Jul 74
Touseef KhanUnderstanding Optionals in JavaIn Java, dealing with null values can be error-prone and lead to unexpected NullPointerExceptions. To address this issue, Java 8 introduced…Apr 2Apr 2
Touseef KhanWriting Unit Tests in Java with Mockito and JUnitUnit testing is a critical part of software development. It helps us ensure that our code behaves as expected and makes it easier to…Mar 291Mar 291