Code Maze Author

Karthikeyan N S

Karthikeyan is an experienced Software Engineer with five years of experience in .NET development with a passion for building scalable and user-friendly applications. He's skilled in .NET Core Web API, C#, EF Core SQL Server, React, Azure Functions, and Microservices.
Also find me here:

MY ARTICLES:

Early Binding and Late Binding in C#

In C#, method binding refers to associating a method call with the method's code definition. When we invoke a method, the program determines which specific method to execute. This process, known as "binding," can occur at two different times: during compile-time...

Entity Framework Core Best Practices

Entity Framework Core (EF Core) is an object-relational mapper (ORM), enabling us to work with a database using .NET objects, eliminating much of the data-access code we usually need to write. EF Core supports many databases, including SQL Server, SQLite, PostgreSQL,...

StringValues in ASP.NET Core

When developing web applications using ASP.NET Core, we frequently encounter scenarios where we need to manage collections of strings. These collections can originate from various sources, such as HTTP headers, query strings, form data, and configuration settings....

How to Set Global Default JSON Serialization Options in .NET

JSON serialization is the process of transforming .NET objects into JSON format, which ensures data exchange within applications. Implementing global default JSON serialization settings in ASP.NET Core Web API maintains uniformity across applications. In this article,...

Using Kafka in an ASP.NET Core Web API

At its core, Kafka is a distributed streaming platform designed to handle large volumes of data in real-time. Its exceptional performance, fault tolerance, and scalability make it a pivotal component in event-driven architectures. [sc name="github"...

Execute the SELECT WHERE NOT EXIST SQL Query Using LINQ

In database querying, the SELECT WHERE NOT EXISTS clause plays a pivotal role in retrieving data based on the absence of certain conditions. This is particularly useful when filtering records that do not have corresponding entries in another table. In this article, we...

How to Get the Number of Lines in a Text File in C#

In C#, understanding how to count lines in a text file efficiently is a fundamental skill. This seemingly simple task is essential, especially in data manipulation, analysis, or validation scenarios. Whether we are dealing with log files, configuration files, or large...