Christ khodabakhshiSave Resources Using CancellationToken In ASP.NET Core APIIn this article, we are going to explain what is CancellationToken and the way to implement it in your Asp.Net Core APIs.Dec 28, 2023Dec 28, 2023
Christ khodabakhshiHow to Use Records in C# — Part 2C# 9 introduced records to the language, I have explained what a record is and how to use it in my previous article How to Use Records in…Dec 6, 2023Dec 6, 2023
Christ khodabakhshiHow to Use Records in C# — Part 1With C# 9, we had record types introduced to the language, later the record types had some changes in C# 10 which I will explain later in…Nov 28, 2023Nov 28, 2023
Christ khodabakhshiExploring the Exciting New Features of C# 12In the C# 12 Preview, several new features have been added to the language. This article will take a look at these features and examine how…Apr 24, 2023Apr 24, 2023
Christ khodabakhshiC# Switch Statements — Traditional vs. ExpressionsMicrosoft introduced a more concise and readable syntax for switch expression in C# 8.0, enhancing code clarity and efficiency. In this…Apr 19, 2023Apr 19, 2023
Christ khodabakhshiBuilding a C# and ChatGPT Translator with Minimal CodeIn the recent few months, ChatGPT has become very famous and everyone is talking about it. So, I finally decided to play with the API they…Apr 2, 2023Apr 2, 2023
Christ khodabakhshiDapper vs. Entity Framework: Choosing the Right ORM for Your .NET ProjectWhen it comes to Object-Relational Mapping (ORM) in .NET, there are two popular options that are usually considered. Dapper and Entity…Mar 18, 20231Mar 18, 20231
Christ khodabakhshi5 Reasons Why ASP.NET Core Is a Top Choice for Web Development in 2023ASP.NET Core is the latest Microsoft solution for web-based applications, It’s an open-source project which gained enough popularity among…Mar 15, 2023Mar 15, 2023
Christ khodabakhshiHow to Enable the Inline Hints for Visual Studio 2022You need to do the following steps to enable the Inline Hints:Dec 22, 2022Dec 22, 2022
Christ khodabakhshi5 Bad Practices to Avoid in C#In this post, I want to give 5 little examples of bad practices in C# and what can be done instead to improve your code a little bit. If…Dec 10, 20229Dec 10, 20229