
C#
Implicit Using in C#
Learn everything you need to know about implicit usings in C#. This guide covers how implicit usings work, how to manage them, and the benefits of using them to write cleaner, more efficient code in C# 10 and .NET 6
C#
Learn everything you need to know about implicit usings in C#. This guide covers how implicit usings work, how to manage them, and the benefits of using them to write cleaner, more efficient code in C# 10 and .NET 6
Nuget
Learn how to create, package, and publish your .NET libraries as NuGet packages with this in-depth guide. Includes step-by-step instructions and C# code samples for a seamless publishing process
Env-File
Learn how to extend ASP.NET Core's IConfiguration to support environment variables from .env files using a custom configuration provider in C#. Enhance your .NET application's configuration management with seamless DotEnv integration
C#
Let's explore how to use source generators for logging, the improvements and benefits they bring, and some practical tips to get the most out of this feature.
Env-File
Learn how to read a .env file in C# without using third-party libraries. This guide covers setting up a simple parser to manage environment variables efficiently and securely in your C# applications.
C#
Recursion functions are like a magical mirror that reflects upon itself. It's a concept where a function calls itself, creating a mesmerizing loop of self-referential elegance. Let's break it down how recursive functions works using Factorial Calculation as sample. What is a Factorial? Before we dive
C#
When developing console applications in C#, it's important to communicate the success or failure of your program back to the operating system. This is achieved through exit codes, which are integers returned by the program when it finishes execution. An exit code of 0 typically signifies success, while
C#
When developing C# .NET applications, it's common to store configuration settings in a JSON file, typically named appsettings.json. This approach is not only useful for ASP.NET applications but can also be effectively used in C# Console Applications. Before we start, let's make sure to
Entity Framework Core
One of the useful features of EF Core is the In-Memory Database Provider, which is perfect for testing purposes. In this guide, we will walk through setting up EF Core with an in-memory database, demonstrating how to configure and use it effectively. Step-by-Step Guide Start by creating a new .NET
Oracle
Oracle's ODP.NET 23c Dev (or Oracle.ManagedDataAccess.Core) release brings genuine async/asynchronous methods to support to database interactions in C#, revolutionizing the way developers work with Oracle databases. Under PreRelease until today : 2023-08-24 Async/Await in C# Before delving into the specifics of ODP.NET 23c
JWT
This blog post will explore extracting a JWT token from incoming requests using C#. How to Get JWT Token from Request using C#
JWT
In this article, we will work on implementing C# JWT Authentication using .NET 7 - which also works for .NET 6, and preview .NET 8 - using ASP.NET Core.