InProcess and OutOfProcess Hosting Models in ASP.NET Core
In this article, we will compare InProcess and OutOfProcess hosting models in ASP.NET Core and learn more about each hosting model. Hosting refers to deploying an application into the server for external access. Understanding the hosting process is essential in...
Introduction to Firebase in .NET
When designing and building applications, often we find ourselves needing various third-party services, such as databases, push notifications, hosting, authentication, and many other complex features. Firebase, built by Google, is an all-in-one application development...
Virtual Methods in C#
In this article, we will discuss virtual methods in C#. We will define what they are and how we implement them. We will also mention virtual methods' uses, benefits, and drawbacks. If you're into security, you're 100% familiar with Cross-Site Request Forgery...
Managed vs Unmanaged Code (Garbage Collection) in C#
Managed and unmanaged code are two types of code that differ in how they handle memory management. In this article, we'll explore the differences between managed and unmanaged code, focusing on garbage collection. Blazor Server and Blazor WebAssembly often...
How to Build Dynamic Queries With Expression Trees in C#
Applications are becoming more complex and data-driven over time. Indeed, developing the ability to create and modify dynamic queries at runtime is becoming a critical skill for developers. In this article, we'll explore the basics of building dynamic query expression...
How to Send Emails With the SendGrid API in C#
In this article, we will take a look at how to send emails with the SendGrid API directly from our code. Sending emails from within our applications is a common scenario that we face as developers. Let's look at a couple of use cases where we may need to do this. .NET versions can be confusing, especially if you're new to .NET. Take...
How to Map DateOnly and TimeOnly Types to SQL
In this post, we are going to learn how to map DateOnly and TimeOnly types to SQL with migration. Let's dive in. DateOnly and TimeOnly Types...
Using System.Text.Json for Camel Case Serialization
In this article, we'll learn how to use System.Text.Json for camel case serialization in .NET 7. First, we'll take a glance at the default behavior when serializing. Then we'll use two different ways for the camel case serialization. Lastly, we'll discuss how we can...