Home Blog

Save Resources Using CancellationToken In ASP.NET Core API

0
In this article, we are going to explain what is CancellationToken and the way to implement it in your Asp.Net Core APIs.What is CancellationTokenIf I want to put it in one sentence, CancellationToken...
Records in C#

How to Use Records in C# – Part 2

0
C# 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 C# - Part 1. If you...
Records in C#

How to Use Records in C# – Part 1

0
With 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 another article.What's the Record TypeRecord is...
c# 12 features

Exploring the Exciting New Features of C# 12

0
In 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 they can be helpful for us in the...
switch statement

C# Switch Statements – Traditional vs. Expressions

1
Microsoft introduced a more concise and readable syntax for switch expression in C# 8.0, enhancing code clarity and efficiency. In this post, I'd like to compare the new expression syntax to the traditional version...
Translator with C# and ChatGPT

Building a C# and ChatGPT Translator with Minimal Code

0
In 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 provide and see what I can build with...
Dapper vs. Entity Framework

Dapper vs. Entity Framework: Choosing the Right ORM for Your .NET Project

0
When it comes to Object-Relational Mapping (ORM) in .NET, there are two popular options that are usually considered. Dapper and Entity Framework both let developers work with data in an object-oriented way, but they...
asp dot net top choice

5 Reasons Why ASP.NET Core Is a Top Choice for Web Development in 2023

0
ASP.NET Core is the latest Microsoft solution for web-based applications, It's an open-source project which gained enough popularity among developers. It offers many benefits for developers looking to build modern, scalable, and secure applications....
Inline hints

How to Enable the Inline Hints for Visual Studio 2022

0
You need to do the following steps to enable the Inline Hints:Go to Tools > Options > Text Editor > C# > Advanced.Check the Display inline parameter name hints checkbox.Check the Display inline...
5 Bad Practices to Avoid in C#

5 Bad Practices to Avoid in C#

0
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 you are an intermediate C#...

Be in touch

625FansLike
530FollowersFollow
1,172FollowersFollow
0SubscribersSubscribe