
CancellationToken in ASP.NET Core provides a powerful mechanism for achieving this goal. In this article, we will delve into the concept of CancellationToken, its usage, and practical examples to illustrate its importance in asynchronous programming.

In this article, I will explain Dependency Injection (DI) is a design pattern that supports the development of loosely coupled code, and it’s also one of the SOLID principles (Dependency Inversion Principle).

Interceptors are an experimental feature, available in preview mode with C# 12. An interceptor is a method that allows you to substitute a call to an interceptable method, with a call to itself at compile time. In this article, I present how to create and use an interceptor.

In the world of .NET development, handling JSON serialization and deserialization is a common task, especially when dealing with web APIs. In this article, we'll compare and contrast these two libraries, exploring their features, examples, advantages, and disadvantages.

Singleton and Static classes can only have one instance available in memory, and both classes can be used to maintain the global state of an application, however, there are many differences between them. In this article, I explain what their differences are.

In the realm of .NET Core development, managing HTTP requests efficiently is crucial for building robust and high-performance applications. In this article, we delve into the differences between HttpClient and IHttpClientFactory, examining their strengths, weaknesses, and best practices.

Table-Valued Parameters in SQL Server enable passing multiple rows of data to stored procedures, enhancing performance for bulk operations. Utilizing user-defined table types, they streamline data manipulation tasks and allow parameterized queries, optimizing database development and improving overall performance.

The Experimental attribute is a new C# 12 feature that allows you to add the Experimental attribute to your types, methods, or assemblies to indicate that they are experimental features. When someone tries to use the method or the type, the compiler will issue an error.

Bubble Sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong order. The pass through the list is repeated until the list is sorted.

In this article, I present how to use the MERGE statement in a stored procedure to merge a single record and how to use it to merge a list of records by using Table-Valued parameters in SQL Server.

Struct and Class in C# are integral components for creating and managing objects, but they differ in fundamental ways. Understanding the difference between struct and class in C# empowers developers to make informed decisions, optimizing their code for specific requirements and use cases.

Generics in C# represent a cornerstone of modern software development, offering a powerful mechanism for creating reusable and type-safe code. This comprehensive article explores the fundamentals of generics, delving into practical examples and best practices to harness their full potential.

Learn to implement and compare offset and keyset pagination in a .NET 8 Web API using Entity Framework Core, including performance and concurrency trade-offs.

While the release of .NET 9 is planned for November 2024, the preview version is already available. One of the new .NET 9 features is the new LINQ methods: CountBy, AggregateBy, and Index. In this article, I present how to use these methods.

Frozen Collections is a new .NET 8 feature that can be used to create Dictionaries and Sets for faster read operations when you don’t need to make changes after the creation. In this article, I present how to work with these collections and demonstrate the performance difference when compared with other collections.

In C#, a struct (short for structure) is a value type that encapsulates data and behavior related to a single concept. Structs are used to represent lightweight objects that typically contain a small number of fields. In this article, we'll explore what structs are, how they differ from classes, and their advantages.

Overview of .NET 9 Preview 3 features, including TimeSpan overloads, runtime assembly generation, faster exception handling, inlining improvements, and terminal logger updates.

SOLID principles are a set of design principles that help developers create maintainable, scalable, and flexible software. In this article, we'll explore each of the SOLID principles: Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion.

Object mapping plays a crucial role in modern software development, particularly in .NET applications where data transformation between different layers is a common requirement.

Learn how to define and use C# enums for task statuses, including explicit values, status descriptions, hash codes, benefits, and common use cases.
Data binding is a core concept in Angular that allows developers to establish a connection between the application's data. In this article, we'll delve deep into the various types of data binding mechanisms in Angular, providing detailed examples to help beginners understand and leverage these powerful features effectively.
Angular, a leading JavaScript framework, offers developers a plethora of features to create dynamic and interactive web applications. In this article, we will delve into the various types of text interpolation available in Angular, accompanied by examples to illustrate their usage.
In this article, we will learn how Angular has emerged as one of the most popular JavaScript frameworks for building dynamic and scalable web applications. However, with its powerful features and flexibility comes the responsibility of maintaining clean, efficient, and maintainable code.
HTTP status codes are a crucial aspect of communication between clients (such as web browsers or mobile apps) and servers on the internet. In this article, we will delve into the significance and meaning of various HTTP status codes across different categories.

The "All-in-One" architecture, also known as the Monolithic architecture, is a traditional software design approach where all components of an application are tightly integrated into a single codebase and deployed as a single unit. In the context of .NET development, an "All-in-One" architecture typically involves building a monolithic application using the .NET framework or .NET Core (now .NET 5 and later). Let's explore this architecture in more detail
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article