Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Tags
No tag found
Content Filter
Articles
Videos
Blogs
Resources
News
Forums
Interviews
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Vijay Kumari(30)
Aakash Chhillar(16)
Ashish Bhatnagar(10)
Aman Gupta(10)
Ankit Singh(4)
Lokendra Singh(3)
Ziggy Rafiq(3)
Sangeetha S(3)
Bimalshi Jayarathna(2)
Gowtham Rajamanickam(2)
Ajay Kumar(2)
John Godel(2)
Babita (2)
Ck Nitin(1)
Divyansh Gupta(1)
Rikam Palkar(1)
Craig Breakspear(1)
Ayush Gupta(1)
Raveena Attri(1)
Jin Necesario(1)
Rajiv Singh(1)
Kautilya Utkarsh(1)
Vishal Joshi(1)
Arpit Shrivastava(1)
Resources
No resource found
Master Dockerfile Instructions: FROM, WORKDIR, COPY, RUN, EXPOSE, ENTRYPOINT
Jul 03, 2025.
A simple article to key Dockerfile instructions: FROM, WORKDIR, COPY, RUN, EXPOSE, ENTRYPOINT. Understand each with examples and a memory trick (FWCREE) to easily build and run Docker containers.
Key Performance Tuning Techniques in Android Development (2025)
Jul 01, 2025.
Optimize Android app performance with innovative UI, memory management, threading, and modern tools like Jetpack Compose, Retrofit, Room, and Firebase to ensure smooth, fast, and reliable user experiences.
Page Object Model Design Pattern: Benefits and Implementation
Jun 30, 2025.
The Page Object Model (POM) design pattern in Selenium improves test automation by separating UI structure from test logic, ensuring maintainability, reusability, readability, and scalability for growing web applications.
Move and Delete Files Like a Pro using Power Automate Desktop
Jun 28, 2025.
How to move and Delete Files Like a Pro using Power Automate Desktop
🔄 Power Automate Desktop: How to Copy the File to another location (PAD)
Jun 27, 2025.
Learn how to automate file copying in Power Automate Desktop using the “Copy file” action. This article covers single and bulk file transfers, error handling, and practical workflow tips.
Introduction to Dagger Hilt for Android Development
Jun 24, 2025.
Learn how to use Dagger Hilt in Android to simplify dependency injection, reduce boilerplate code, and build cleaner, more maintainable apps with modern architecture best practices.
Building Objects in JavaScript
Jun 18, 2025.
JavaScript is an object-based language, which does not Completely support object oriented programming concepts. It provides a mechanism by which user-defined Objects can be created.
Jetpack Compose and Its Basic Building Blocks
Jun 18, 2025.
earn the basics of Jetpack Compose, Android’s modern UI toolkit. Understand its core building blocks like Composables, Layouts, and Modifiers to create intuitive and dynamic user interfaces.
Modern C# in 2025: What You Should Be Using (and What to Retire)
Jun 03, 2025.
Explore the latest C# 12 and .NET 8 features in 2025, including primary constructors and required properties, while learning modern practices to write cleaner, faster, and more maintainable C# code.
Interpolation Search Algorithm in Java
Jun 03, 2025.
Learn how Interpolation Search improves upon Binary Search for uniformly distributed, sorted arrays. Explore its working, code examples in Java, performance, use cases, and comparison with Binary Search.2/2
Clean Code and Best Practices with C# 13
Jun 01, 2025.
Ziggy Rafiq teaches you how to create clean, maintainable, and testable C# 13 code using modern features, architecture patterns, and clean code principles.
Understanding Cycle Sort in Java
Jun 01, 2025.
The fundamental principle behind cycle sort is to place each element directly into its final sorted position. The algorithm works by counting how many elements are smaller than the current element, which determines its correct position in the sorted array.
Coil - Image Loading Library
May 26, 2025.
Coil is a fast, lightweight, and modern image-loading library for Android, built using Kotlin and backed by Coroutines. It simplifies image loading with efficient caching and minimal setup.
Typical Uses of JDBC with Architecture
May 16, 2025.
The traditional client/server model has a rich GUI on the client and a database on the server. In this model a JDBC driver is deployed on the client.
Sharing Session and Application data
Apr 21, 2025.
The request scope makes data available to multiple pages processing the same request. But in many cases, data must be shared over multiple requests.
What is New in JDK 24?
Apr 18, 2025.
JDK 24 introduces preview features like unnamed variables, pattern matching for primitives, string templates, and performance boosts, enhancing Java's productivity, readability, and native integration for modern development.
Primary Constructors in C# 12
Apr 18, 2025.
Primary constructors in C# 12 simplify class and struct initialization by allowing parameters to be declared directly in the class signature. This new feature reduces boilerplate code, making object creation cleaner and more concise. Great for writing modern, readable C# code.
Mastering the New Era of C#: Exploring Advanced Features in C# 14
Apr 15, 2025.
C# 14 represents a polished and sophisticated leap forward in the language’s maturity. C# 14 refines the language with primary constructors, collection expressions, interceptors, and performance enhancements.
C# 14: Exploring New Language Features for Modern .NET Development
Apr 02, 2025.
In this article, I explore the most important features introduced in C# 14.0, including primary constructors in classes, collection expressions, enhanced pattern matching, and required members. I walk through how each of these additions simplifies code, improves performance, and promotes safer, more expressive development.
Integrating Java with QA Automation: Selenium WebDriver Testing
Mar 28, 2025.
Java and Selenium WebDriver offer a robust foundation for QA automation, enabling scalable, maintainable, and efficient testing. Implementing best practices ensures a high-quality software delivery process.
SQL Tag Library in Java Server Page
Mar 21, 2025.
JSTL SQL tags are used to access databases and are designed for low-volume Web-based applications.? JSTL SQL tags facilitate database interactions in JSP pages, enabling data source setup, query execution, updates, and transactions through tags like <sql:setDataSource>, <sql:query>, <sql:update>, and <sql: transaction>
A Simpler Way to Initialize Objects
Mar 18, 2025.
With the release of C# 12, Primary Constructors were introduced to simplify class and struct initialization. This feature allows parameters to be declared directly in the class or struct definition, eliminating the need for boilerplate code and improving readability.
Top AI Libraries for Java Developers
Feb 25, 2025.
Java developers can enhance their applications with AI capabilities using libraries like Deeplearning4j for deep learning, Weka for data mining, MOA for data stream analysis, Spark MLlib for scalable machine learning, and Neuroph for neural network development.
Speed Testing Programming Languages
Feb 19, 2025.
How fast is the same code using different languages. In this article I used VS Code to write a loop in different languages and tested the execution speed with results.
Building a Number Guessing Game in Java
Feb 10, 2025.
Learn how to create a number guessing game in Java. This beginner-friendly project covers random number generation, user input handling, loops, and conditionals, with enhancements like difficulty levels and input validation.
Swap First and Last Rows in a Matrix Using Java with Code
Jan 28, 2025.
Learn how to interchange the first and last rows of a matrix in Java using simple loops or efficient methods like `System.arraycopy()`, complete with examples, explanations, and practical tips.
Java Program for Counting the Number of Vowels in a String
Jan 28, 2025.
This article explains how to count the number of vowels (a, e, i, o, u) in a given string using Java. It covers two approaches: a simple method using loops and conditional statements, and a more optimized approach utilizing a Set for quick vowel lookups.
Java Program to Count the Number of Even and Odd in an Array
Jan 27, 2025.
The title "Java Program to Count the Number of Even and Odd Numbers in an Array" refers to a Java program that demonstrates how to count how many numbers in an array are even and how many are odd. The article explains the concept of even and odd numbers, and provides a step-by-step guide on implementing a Java solution using simple loops and conditional statements.
The Java.NET Package
Jan 25, 2025.
The Java.NET package provides classes for implementing networking functionality in Java. It supports TCP, UDP, and HTTP protocols, enabling tasks like creating sockets, managing URLs, sending/receiving data, and handling network connections.
Java Program to Calculate Factorial Using Recursion
Jan 23, 2025.
In this article, we explore how to calculate the factorial of a number using recursion in Java. Factorial, denoted as n!, is the product of all positive integers less than or equal to a given number n.
Printing a 2D Array in Java with Code
Jan 23, 2025.
Explore methods to print a 2D array in Java, including nested loops, Arrays.deepToString(), for-each loops, and Java 8 streams, with detailed explanations and code examples for effective implementation.
Merging Two Arrays in Java with Code
Jan 22, 2025.
This article explores merging arrays in Java, covering efficient techniques like `System.arraycopy()`, manual iteration, Java Streams, and ArrayList, with code examples to suit various programming needs.
Java 21 JUnit Testing Best Practices
Jan 21, 2025.
The best practices for JUnit testing in Java 21 by Ziggy Rafiq include leveraging new language features like record patterns and string templates. Develop maintainable and robust Java applications by leveraging test isolation, AAA patterns, and parameterized tests.
Java Program to Rotate a Square Matrix by 90 Degrees
Jan 21, 2025.
Rotating a matrix by 90 degrees is a common problem in programming, often asked in coding interviews and competitions. The task involves changing the arrangement of elements in a square matrix such that the rows of the original matrix become columns in the rotated matrix, specifically in a clockwise direction.
Copying All Elements of One Array to Another Array in Java with Code
Jan 21, 2025.
Learn how to copy arrays in Java using user input, iterative methods, and `System.arraycopy()`. This article demonstrates seamless duplication of entire arrays and subsets with practical examples.
Java Program to Generate Pascal's Triangle
Jan 20, 2025.
A Java Program to Generate Pascal's Triangle creates a pattern of numbers where each number is the sum of the two numbers directly above it. The program allows the user to input the number of rows they want for the triangle.
Java Program to Check Whether a Number is a Strong Number
Jan 20, 2025.
A Strong Number, also known as a Krishnamurthy number, is a number where the sum of the factorials of its digits equals the number itself. For instance, the number 145 is considered a Strong Number because the factorial of 1 is 1 (1!), the factorial of 4 is 24 (4!), and the factorial of 5 is 120 (5!).
Sum of Fibonacci Series Up to a Number N in Java with Code
Jan 20, 2025.
This article explains how to calculate the sum of Fibonacci numbers up to a given number \( N \) in Java, with step-by-step logic, code examples, and practical implementation details.
Java Program to Calculate the Sum of Odd Numbers in a Given Range
Jan 17, 2025.
This topic explains how to write a Java program to calculate the sum of all odd numbers within a specified range. The program takes a user-defined start and end value, then loops through the range to identify odd numbers (numbers not divisible by 2).
Print Fibonacci Series in Java Using Different Methods
Jan 17, 2025.
This article explores four methods to generate the Fibonacci series in Java: iteration, recursion, dynamic programming (memoization), and Java streams, offering optimized, modern, and functional approaches for various scenarios.
Java Program to Implement Matrix Transposition
Jan 16, 2025.
Java Program to Implement Matrix Transposition involves writing a Java program that performs matrix transposition, a mathematical operation where the rows and columns of a matrix are swapped. In simpler terms, the element at position (i, j) in the original matrix moves to position (j, i) in the transposed matrix.
Java Program to Check Whether a Number is a Perfect Square
Jan 15, 2025.
The topic "Java Program to Check Whether a Number is a Perfect Square" focuses on creating a Java program that checks if a given number is a perfect square. A number is considered a perfect square if it can be expressed as the square of an integer (e.g., 16 is a perfect square because it is 4 × 4).
Java Program to Find the Average of Array Elements
Jan 14, 2025.
"Java Program to Find the Average of Array Elements" refers to a Java program that calculates the average of the numbers stored in an array. The program adds up all the elements of the array and then divides the sum by the total number of elements to get the average.
Checking Two Matrices Are Equal in Java or Not
Jan 14, 2025.
Learn how to compare two matrices in Java by implementing a `Matrix` class to handle creation, input, and comparison. This article covers object-oriented concepts, user input, and array manipulation.
Printing Different Types of Star Patterns in Java with Code
Jan 09, 2025.
Star pattern programs in Java demonstrate the use of nested loops and control structures, creating shapes like squares, pyramids, diamonds, and hollow squares with illustrative code examples and outputs.
Sorting Array in Ascending and Descending order in Java
Jan 09, 2025.
Learn to sort arrays in Java using built-in methods like `Arrays.sort()` for ascending order and `Arrays.sort()` with `Collections.reverseOrder()` for descending order, complete with examples and explanations.
Calculate Simple Interest in Java with Code
Jan 08, 2025.
Learn how to calculate simple interest in Java using user input, exception handling, and validation. This article includes step-by-step explanations, example code, and techniques for handling invalid user inputs effectively.
Check Input Character is a Vowel or Consonant in Java With code
Jan 07, 2025.
Learn how to identify vowels and consonants in Java using if-else and switch statements. This article explains character validation and control flow and provides example programs for clarity and practice.
Understand the Concept of Shallow Copy and Deep Copy in C#
Jan 06, 2025.
Learn the difference between shallow and deep copying in C#. Explore their behavior, implementation, and use cases with practical code examples, helping you make informed decisions for object duplication scenarios.
Check Armstrong Numbers Between Two Integers in Java with Code
Jan 06, 2025.
Learn to identify Armstrong numbers in a given range using Java. This article explains logic, digit manipulation, and mathematical operations, with an example program to detect and display Armstrong numbers efficiently.
3 Easy Ways to Find the Missing Number in an Array in Java
Jan 03, 2025.
The article "3 Easy Ways to Find the Missing Number in an Array in Java" explains how to efficiently find the missing number in an array of numbers ranging from 1 to n. It presents three straightforward methods to solve the problem.
Checking Leap Year in Java with Code
Jan 03, 2025.
This article explains how to determine leap years in Java using conditional statements, ternary operators, functions, and Java's built-in `Year` class, with code examples and clear explanations for each method.
How to Find the Largest and Smallest Element in an Array in Java
Jan 02, 2025.
In this article, we explained how to find the largest and smallest numbers in an array in Java. The process involves initializing two variables, one for the largest and one for the smallest number, with the first element of the array.
Display Current Date & Time Using Java With Code
Jan 01, 2025.
Learn how to display and format the current date and time in Java using `LocalDate`, `LocalTime`, `LocalDateTime`, `ZonedDateTime`, and `DateTimeFormatter` from the `java.time` package with practical examples.
Checking if a Number is Odd or Even in Java with Code
Dec 31, 2024.
Learn three methods to check odd or even numbers in Java using modulus, bitwise, and ternary operators with clear examples, explanations, and practical insights for beginners.
Implementing Bubble Sort, Merge Sort, and Quick Sort in Java
Dec 31, 2024.
This article explains how to implement three popular sorting algorithms—Bubble Sort, Merge Sort, and Quick Sort—in Java. It provides simple, step-by-step explanations for each algorithm, including how they work, their code implementations, and their advantages and disadvantages.
How to Transfer Files/Folders from AWS EC2 to Local Machine Using SCP
Dec 27, 2024.
Transferring files between an AWS EC2 instance and your local machine is easy using SCP. This guide explains the steps to securely copy files and folders, verify transfers, and ensure successful data movement using SSH.
How to Generate Random Numbers in Java with Code?
Dec 27, 2024.
Discover multiple techniques to generate random numbers in Java using `java.util.Random` and `Math.random()`, with detailed explanations, code examples, and practical use cases for simulations, gaming, and cryptography.
How to Set Up the Java Path on Windows
Dec 27, 2024.
The topic "How to Set Up the Java Path on Windows" covers the essential steps needed to configure your system so that Java commands can be run from anywhere in the command line.
Displaying All Prime Numbers from 1 to N Using Java with Code
Dec 26, 2024.
Explore three methods to display prime numbers in Java: Simple Loop, Square Root Optimization, and Sieve of Eratosthenes, with detailed explanations, code examples, and efficiency comparisons for each approach.
How to Run a Java Program on Windows?
Dec 26, 2024.
This guide walks you through the process of writing and running a simple Java program on a Windows computer. It covers the installation of the Java Development Kit (JDK), setting up your environment, writing a basic Java program (a car simulation), and compiling and running the program using Command Prompt.
How to Reverse a String in Java
Dec 24, 2024.
Reversing a string in Java is a common task that involves reversing the order of characters in a string. For example, "Hello" becomes "olleH". To accomplish this in Java, we can use the StringBuilder class, which allows us to efficiently manipulate and reverse strings.
Printing "Hello, World!" in Java: Different Techniques and Examples
Dec 20, 2024.
This article explores various methods to print "Hello, World!" in Java, introducing beginners to Java's syntax and structure. Examples include basic output, methods, string variables, and StringBuilder for dynamic messages.
Creating a Currency Converter Using Java with Code
Dec 19, 2024.
This article demonstrates creating a Java-based console currency converter that converts amounts between USD, EUR, and INR using predefined exchange rates. It includes user input, conversion logic, and sample code.
How to Transfer Files or Folders from Local Machine to Remote in EC2
Dec 17, 2024.
This article explains how to transfer files or folders from your local computer to an Amazon EC2 instance using SSH and SCP. It covers the steps to connect to the EC2 instance, create a folder, and securely transfer files.
Take User Input in Java with BufferedReader
Dec 12, 2024.
Learn how to take user input in Java using BufferedReader and Console classes. This guide includes detailed explanations, code examples, error handling, and practical applications for seamless input handling.
Menu Navigation Layout in Android Studio
Dec 06, 2024.
The article explains creating a navigation menu layout in Android to enable seamless activity transitions. It covers Java code and XML design with DrawerLayout and NavigationView, ensuring intuitive UI interaction.
Take Input in Java using Scanner Class with Code
Dec 06, 2024.
Learn how to capture user input in Java using the Scanner class. This guide covers importing, creating Scanner objects, reading inputs (strings, integers, doubles), and handling exceptions with examples.
Top IDEs for Java Development in 2024
Dec 02, 2024.
An IDE (Integrated Development Environment) is a software tool that helps developers code, test, and debug efficiently. Popular Java IDEs in 2024 include IntelliJ IDEA, Eclipse, NetBeans, and more.
How to Use Microsoft Teams for Project Management
Nov 28, 2024.
Microsoft Teams simplifies project management by integrating task management, real-time communication, and collaboration. Use Planner for tasks, schedule check-ins, and keep your team organized with chat updates and meetings.
How to Code Matrix Multiplication in Java?
Nov 26, 2024.
Learn matrix multiplication in Java through this practical guide! Understand its rules, explore a complete code example using nested loops, and master this essential operation for programming and data applications.
How to Subtract Matrices in Java with Code Example?
Nov 22, 2024.
Learn matrix subtraction in Java with a step-by-step guide and code example. This operation, essential in fields like data analysis and computer graphics, subtracts matrices element-wise to produce a new matrix.
Addition of Two Matrices in Java with Code
Nov 20, 2024.
Learn how to add two matrices in Java with a simple and clear code example. This article explains matrix addition, implementation steps, and sample output for better understanding.
CRUD Operation in Java with code example
Nov 15, 2024.
This article demonstrates implementing CRUD operations in Java with a console-based Student Management System, allowing users to add, view, update, and delete student records using a simple menu-driven interface.
Rock, Paper, Scissors Game in Java
Nov 12, 2024.
This article provides a step-by-step guide to implementing the "Rock, Paper, Scissors" game in Java, complete with a demo video and downloadable source code, covering game rules and logic.
Scroll View Example in Android Studio using Java
Oct 30, 2024.
Scroll View in Android enables displaying more content on a single screen by allowing vertical or horizontal scrolling. It works with Linear Layouts, making it ideal for apps like note-taking where users can scroll through lists of content.
Java 23: The Latest Features and Improvements
Oct 28, 2024.
This latest release introduces updates in pattern matching, memory management, and enhanced API functionalities. Java 23 simplifies coding tasks, boosts efficiency, and strengthens application stability.
User Login page Example in android studio using java
Oct 25, 2024.
We’ll walk through setting up a simple login screen with input fields for username and password, integrating basic authentication, and handling login actions. Perfect for beginners in Android development.
Power of Web APIs: 12 Essential APIs for Java Developers
Oct 11, 2024.
Staying updated with essential web APIs is vital for developers to build efficient, scalable, and user-friendly applications. This article explores key APIs, including Geolocation, Web Workers, and Web Sockets, with Java examples.
TypeScript Object Spread
Oct 10, 2024.
Object spread in TypeScript allows for copying properties of objects or arrays using the spread operator (...), with later objects overwriting properties with the same name, and it can also be used to combine arrays or insert elements at specific positions.
Pattern Matching for Switch in Java 17
Oct 07, 2024.
Pattern matching for switches in Java 17 enhances code readability and simplifies working with complex data structures. It allows you to match object types, use type patterns, and add conditions with guarded patterns.
Construct a Deep Copy of LinkedList
Oct 03, 2024.
The task involves creating a deep copy of a linked list where each node has a random pointer that may point to any node or null. Using a dictionary to map original nodes to their corresponding new nodes, the algorithm efficiently sets next and random pointers, achieving O(n) time and space complexity.
Application State vs Session State in Java
Sep 30, 2024.
State management in Java is vital for web applications, categorizing data into Application State and Session State. Application State shares data globally across users, ideal for configurations and caches, while Session State is user-specific and temporary, suitable for personal preferences and shopping carts.
Difference Between Static Modifier and Final Modifier
Sep 26, 2024.
Sometimes, a programmer might need to define a class member that will be used independently of any object of that class.
How C# Generics is different from Java Generics
Sep 24, 2024.
In this article, we explore the distinctive features of C# generics and how they enhance programming efficiency. We compare generics with non-generic types, focusing on benefits like type safety, code reusability, and performance optimization.
Explaning Wrapper Classes in Java
Sep 23, 2024.
This is essential for utilizing Java’s object-oriented features, such as collections. With autoboxing and unboxing, Java simplifies conversions between primitives and their corresponding wrapper classes, enhancing type safety and performance in data manipulation.
Using C# 12 with Clean Code Practices
Sep 21, 2024.
Learn how to write cleaner, more maintainable code with C# 12 features such as primary constructors and improved pattern matching. This article explores practical examples and tips for applying clean code practices with C# 12.
Derived Class Constructors in Java
Sep 17, 2024.
Constructors are used to initialize an object of a particular type, as well as to allocate memory, and have the same name as the class.
Socket Class and ServerSocket Class in Java Networking
Sep 16, 2024.
TCP/IP sockets are the most reliable, bi-directional, stream protocols. It is possible to send arbitrary amounts of data using TCP/IP. Sockets are used for data communication using this protocol.
Exaplain Copy Constructor in C#
Sep 10, 2024.
A copy constructor in C# allows creating a new object by copying an existing object. It duplicates the values of properties and fields from the original object. This method is useful for creating independent object copies, enhancing code readability, and managing object duplication efficiently.
Creating User Defined Exceptions in Java
Sep 09, 2024.
Customized exceptions are necessary to handle abnormal conditions of applications created by the user.
Virtual Threads in Java JDK
Sep 08, 2024.
Java Virtual Threads, introduced in Project Loom, offer a lightweight alternative to traditional platform threads by allowing the JVM to manage threads instead of the OS. This improves scalability and resource efficiency, enabling applications to handle thousands of concurrent tasks with minimal overhead.
Passing Data to Java User Controls
Sep 04, 2024.
Learn how to efficiently manage data flow between your application's logic and user interface components, whether you're working with Java Swing, JavaFX, or custom UI controls. Ideal for developers aiming to enhance their Java applications.
Explain Primary Constructor in C# 12
Sep 04, 2024.
The primary constructor in C# 12 introduces a new way to define and initialize properties directly within the class declaration, simplifying object creation and reducing boilerplate code.
How to Create a Dynamic Delete Modal in Java
Sep 03, 2024.
This article guides you in creating a dynamic delete modal in Java. You'll learn how to design a modal popup that adjusts its content based on the item to be deleted, pass item data using JavaScript and AJAX, and handle the deletion process in Java, ensuring a smooth and efficient user experience.
Document Upload in Java with Spring Boot
Sep 02, 2024.
This article demonstrates how to implement a dynamic document upload feature in a Spring Boot Java application. It allows users to upload multiple files by dynamically adding or removing input fields. The uploaded files are processed server-side, enhancing flexibility for document management and online forms.
Default Implementation in C# Interfaces
Aug 28, 2024.
This article details creating a `StringUtils` utility class in Java to centralize common string operations. It covers methods for checking if a string is alphanumeric with underscores or consists solely of letters, enhancing code organization and reusability.
Implement LDAP Login Authentication API in Java with Spring Boot
Aug 28, 2024.
This guide details creating an LDAP authentication API using Java and Spring Boot. It covers dependency setup, LDAP server configuration, and implementing a REST controller for user authentication. The solution includes secure credential handling and best practices for securing the API in production.
Centralizing String Utility Functions in Java
Aug 27, 2024.
This article explains how to consolidate common string utility functions in Java by creating a utility class like StringUtils. It covers methods for checking if a string contains only alphanumeric characters with underscores and if a string consists solely of letters, improving code organization and reusability.
Securing Sessions in Java Web Applications: Preventing Session Fixation and Replay Attacks
Aug 25, 2024.
Securing Sessions in Java Web Applications: Preventing Session Fixation and Replay Attacks