
Enhance ASP.NET Core localization by leveraging automated translations via result filters. This approach enables dynamic content translation in API responses, improving multilingual support.

Learn How to implement localization in ASP.NET Core Web API enables developers to create multilingual applications by supporting various languages and cultures.

This article explores five methods for converting a C# POCO to a dictionary using reflection, LINQ, JSON libraries, and ExpandoObject, comparing their performance through Benchmark.NET to find the best approach.

This guide explains how DIP enhances software design by decoupling high-level and low-level modules, promoting flexibility and maintainability. Understand its implementation using Dependency Injection and best practices in C#.

Explore the Interface Segregation Principle (ISP) from SOLID design principles to ensure code flexibility and maintainability. ISP advocates for breaking down large, unwieldy interfaces into smaller, client-specific ones, reducing unnecessary dependencies. Learn how to apply this principle with practical examples in C#.

The Liskov Substitution Principle (LSP) ensures that objects of a base class can be replaced with objects of a derived class without altering program correctness. This principle, part of SOLID design, promotes reliable and maintainable code by maintaining consistent behavior across class hierarchies.

The Open/Closed Principle (OCP) states that software entities should be open for extension but closed for modification. This principle helps in creating flexible and maintainable code by allowing new functionality to be added without altering existing code.

The article delves into the Single Responsibility Principle (SRP) in C#, emphasizing its importance in object-oriented programming. It illustrates SRP violations and provides improved code examples for clarity.

Explore the essential S.O.L.I.D principles in software development for robust, maintainable code. Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion.

This post explores the challenges of generating realistic test data manually and introduces Bogus, a .NET library that simplifies the process by providing a fluent API for defining data generation rules. It covers basic and complex data generation, making unit testing more efficient and realistic.

In this post, we will explore the concept of mocking in unit testing using xUnit, discuss different types of mocks, and show how to write testable code that supports mocking.

In this blog post, we will explore how to enhance your assertion capabilities in .NET Core unit testing, using the xUnit testing library. We'll start by examining the xUnit's built-in assertion methods and then introduce two alternative assertion libraries: FluentAssertions and Shouldly.

Unit Testing in .NET Core series, we delve into parameterized unit testing using the xUnit.Net testing library. Parameterized unit testing involves defining a single test method and supplying it with various sets of input parameters. This approach minimizes code duplication and allows for testing a wide range of scenarios efficiently.

Discover the importance of unit testing in software development and its benefits over manual testing, and explore popular testing frameworks in .NET Core, with a focus on xUnit.net for automated testing.

Learn the fundamentals of unit testing in .NET Core, including manual vs. automated testing and popular testing frameworks like xUnit.net.

Dapper is a lightweight ORM for ASP.NET Core, offering efficient data access with minimal overhead. It simplifies database interactions by mapping query results to objects, enhancing performance in web applications.

In this article, you will learn about the code first approach with Fluent API.

In this article, you will learn about spatial queries in Entity Framework Core.

In this article, you will learn Entity Framework Core's shadow properties, and hidden fields in the model that aren't mapped to the database schema directly. Learn how to leverage them for metadata storage, auditing, or tracking without cluttering your entity classes or database tables.

HttpClient is one of the most commonly-used classes in the .NET framework by developers to call external APIs from an application. In this article, we will learn how to create a typed HttpClient with HttpClientFactory In ASP.NET Core.

In this article, I will be talking about debugging .NET Core applications using Visual Studio Code. As we all know debugging is an indispensable part of programming. Most of our programming time will be devoted to debugging the code written by us or others. So it is really necessary that programmers need a very smooth debugging experience while coding. Most of the IDEs provide excellent debugging options. Visual Studio's debugging capabilities are so powerful that it provides a lot of features like breakpoints, code stepping, variable inspection, call stack, debug console window etc.

In this article, I will be talking about how to run Unit Tests in .NET Core application using Visual Studio Code. Unit tests are an integral part of software development. I am not going to explain unit testing in detail here as there are many online resources for that. I will be talking about how to include unit tests in .NET Core application and about a Visual Studio Code extension which can be used for running the unit tests.

In my previous post, I have talked about setting up a .NET Core development environment using Visual Studio Code. It had covered how to setup VS Code to run .NET Core Applications with the help of .NET CLI. Even though we were able to develop an application with VS Code, we were missing many things that most of the .NET developers are accustomed to their standard IDE - Visual Studio.

Almost all of the .NET developers are accustomed to developing applications using the Visual Studio IDE from Microsoft. But this has a limitation - Visual Studio was a Windows application.
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article