All articles for #dotnet

Articles From May 2025

The Truth About AddAsync: When to Use It in EF Core (and When Not To)

Let's crack open that EF Core mystery: Why does AddAsync() exist when there's no UpdateAsync() or...

  • 29

  • 0

  • 0

Articles From Apr 2025

Understanding C# ref and out Keywords: A Friendly Guide

In C#, ref and out let methods modify variables directly in the caller’s scope by passing them by...

  • 73

  • 0

  • 0

Articles From Feb 2025

Implementing TOTP-Based Two-Factor Authentication in .NET Web API

Introduction Two-factor authentication (2FA) adds an extra layer of security to your...

  • 309

  • 1

  • 0

Articles From Jan 2025

Managing Production Configurations in ASP.NET Core WebAPI Using Environment Variables

When you’re building modern, scalable applications with ASP.NET Core, one of the biggest challenges...

  • 169

  • 1

  • 0

Articles From Nov 2024

Building a Linux Based Minimal and Efficient .NET 8 Application Docker Image

In this article, we will walk through a multi-stage Dockerfile optimized for building and running a...

  • 890

  • 1

  • 0

Implementing HTTP Request and Response Encryption in ASP.NET Core with Custom Attributes

Securing Data Transmission in ASP.NET Core Web APIs: A Custom Encryption Implementation In...

  • 213

  • 0

  • 2

Custom Role-Based Authorization with JWT in ASP.NET Core

This implementation demonstrates a robust authorization system for ASP.NET Core applications,...

  • 160

  • 1

  • 0