Deploy ASP.NET Core Applications on Linux With Apache
In this article, we are going to learn how to deploy ASP.NET Core applications to an Ubuntu Linux server with Apache. Let's get...
Adding Header and Footer to a PDF Using the iText Library
In this article, we will continue our journey using the iText library to create PDF documents. In our previous article, 'Introduction to PDF Manipulation With iText (Formerly iTextSharp)' we discussed the basics of the iText7 library. We talked about licensing and the...
Readonly Modifier in C#
In this article, we are going to learn about the readonly modifier in C#. However, before we go into detail on this topic, it is important to understand the concepts of mutability and immutability in programming. Clean and easy-to-implement guide to logging with Serilog using Azure...
Efficiently Converting Strings With UTF-8 String Literals in C#
In this article, we'll learn about the new syntax for UTF-8 string literals in C# 11, highlighting the performance enhancements vs. the older API. ...
How to Mark Methods as Deprecated in C#
In this article, we will explore how we can mark methods as deprecated and propose newer alternatives to developers in C# by providing useful information. A good breakdown of Moq's situation for those that haven't heard what's...
Targeting Multiple Frameworks in a .NET Project
In this article, we're going to explain the importance and benefits of targeting multiple frameworks in a single .NET project. Let's start....
Prevent SQL Injection With EF Core, Dapper, and ADO.NET
SQL Injection is a severe security vulnerability that can harm applications that use databases. In this article, we'll learn about SQL Injection attacks, what they can do, and how to protect our applications from them. We'll focus on using popular ORM tools like EF...
How to Generate a Stream From a String?
Generating a stream from a string is a common operation we perform when building applications. In this article, we will discuss two ways we can achieve that in .NET. Interceptors are a new .NET 8 feature worth exploring. Let's check out what interceptors do with Khalid Abuhakmeh....