
Learn how to implement an API Gateway in .NET using Ocelot, a powerful open-source library. This guide covers the essentials of routing, load balancing, security, and microservices management in .NET Core.

xploring ValueTask in C#" delves into the intricacies of the ValueTask type introduced in C#. It compares ValueTask with Task, highlighting performance benefits and appropriate use cases.

ASP.NET Core Identity is a membership system for managing authentication and authorization in web applications. It includes components like IdentityUser, IdentityRole, and Claims, and features such as password hashing, email confirmation, and two-factor authentication.

Avoid using `await` inside C# loops as it causes sequential execution and resource contention, leading to poor performance. Instead, use alternatives like `Task.WhenAll`, `Parallel.ForEachAsync`, or `SemaphoreSlim` to handle asynchronous operations concurrently and efficiently.

CQRS (Command Query Responsibility Segregation) in .NET Core separates read and write operations for better scalability and performance. By using distinct models for commands and queries, it simplifies complex data handling, improves security, and enhances maintainability.

Intermediate code optimization in C# improves performance by refining Intermediate Language (IL) code. Techniques like inlining, loop optimizations, dead code elimination, and constant folding enhance runtime efficiency and reduce overhead.

In this article, we will Understand key concepts, such as iterator methods and custom iteration patterns, and enhance your C# programming skills with practical examples and tips.
Discover how GROUP BY aggregates data into summary rows, while PARTITION BY divides data into partitions for window functions. Master these techniques to enhance your SQL querying skills.

Exception handling in ASP.NET Core is crucial for application stability. Exception filters provide a centralized way to manage errors, log them, and return custom responses, enhancing maintainability and user experience.

Registering multiple services with a single interface in .NET Core enhances flexibility and testability, allowing different implementations for various concerns, runtime configuration, and easy unit testing.

Sealed classes in C# are a vital concept in object-oriented programming, preventing other classes from inheriting them. This ensures a secure and stable class hierarchy by stopping further extension.

Learn how to create a .NET class library, add NuGet package metadata, build a .nupkg file with dotnet pack, and publish it to NuGet.org.

This article explores implementing CQRS (Command Query Responsibility Segregation) and Event Sourcing with .NET Core. It covers the basics of CQRS and Event Sourcing, including commands, queries, and event storage.

This service leverages ASP.NET Core to provide real-time status updates, API health checks, and dependency monitoring, enhancing application reliability and uptime.

In this article, we will learn how to encapsulate data for security, leverage inheritance for code reuse, and implement polymorphism to create flexible and scalable applications.

Explore the fundamentals of C# abstract classes through clear examples and detailed explanations. Learn how abstract classes facilitate code reusability and polymorphism in object-oriented programming, with practical demonstrations of their usage and implementation in C#.

Explore the nuances between IEnumerable and IQueryable in C#. Understand how these interfaces differ in data retrieval and manipulation, with a focus on performance implications and suitable use cases.

JSON Web Tokens (JWT) are a popular method for securely transmitting information between parties as a JSON object. This article explores the fundamentals of JWT, including its structure, encoding, and common use cases in authentication and authorization.

The discard variable (_), introduced in C# 7.0, allows developers to ignore values intentionally. It enhances code clarity by signaling unused data in tuples, pattern matching, out parameters, and LINQ queries, promoting cleaner, more efficient, and maintainable programming in .NET applications.

Learn how to implement soft deletes using EF Core in your ASP.NET Core applications. This guide covers the soft deletion pattern, ensuring data integrity while keeping historical records.

Implementing Single Sign-On (SSO) with IdentityServer4 in ASP.NET Core simplifies user authentication across applications, enhancing security and user experience. Centralized authentication and token-based authorization streamline management and improve overall system security, making it ideal for modern web applications.

Explore the advanced features of C# with a focus on Discriminated Unions and .NET Channels. Learn how Discriminated Unions enhance type safety and pattern matching, and how .NET Channels facilitate concurrent and asynchronous programming.

Explore the Unit of Work pattern in C#, essential for modern application development. Discover how it facilitates efficient database operations, manages transactions with Entity Framework, and enhances the scalability and maintainability of your data access layer.

Learn to implement CRUD operations, manage data efficiently, and leverage the power of MongoDB's NoSQL capabilities alongside the robust .NET framework for scalable backend development.

This article explores the history and implementation of authentication methods in C#, including Basic, Digest, Cookie, Session, Token (JWT), and API keys, highlighting their security features and practical applications.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article