This blog dedicated to all things programming! Here, you’ll find a variety of informative articles and tutorials on topics about web development and databases.
Here are a few popular articles you may interested to read:
- Get Connection String from Appsettings.json
- Auto Format Code in Visual Studio 2022
- Console .Net 6.0 App with Entity Framework Core 6.0.6
- How to check if a function exists in a SQL database?
- Concatenate Multiple SQL Rows Into Single String
- How to break out of jQuery each loop?
How to Deep Clone an Object in C#?
Some time ago I ran into a problem that I need to make a complete copy of the C# object. Before I show you how…
Using Cancellation Tokens for Efficient SyncFusion SFGrid Data Rendering
A few weeks ago, I encountered an issue with SyncFusion SFGrid where it was rendering not the last request that was sent, but the last…
How to Enumerate an Enum in C#?
Enums are a powerful feature of C# that allow you to define a set of named constants. And it can be a challenge to enumerate…
C# Difference Between == and Equals
In C#, “==” and “Equals” are used to compare values of variables or objects. The choice between the two operators depends on the type of…
How To Deserialize JSON from File C#? Single Item and Collection
In this article, I will demonstrate how to deserialize JSON from a file in C# for both a single item and a collection. I will…
How to Fix xUnit Test not Running Error – “Test project does not reference any .NET NuGet adapter”
Today I faced that Visual Studio 2022 does not run xUnit tests in the Test Explorer. And in the output I found the next error:…
Collapse and Uncollapse Sections of Code in Visual Studio Code – Shortcuts
Here is the list of shortcuts to fold or collapse sections of code in Visual Studio Code: Collapse current section(where the cursor is active):: Ctrl…
How to Downgrade Node Version in Windows 10? NVM Utility
Sometimes it may be necessary to downgrade Node to an older version for compatibility or stability reasons. For example, I faced the “ReferenceError: primordials is…
Add Format Selection In Context Menu Visual Studio 2022
Here I showed how to format code using shortcuts in Visual Studio 2022. But especially I can forget hotkey and I prefer to have a…
How to Hash, Salt and Store Password in C#?
Passwords are the most commonly used method for authenticating users and are therefore a primary target for attackers. One effective way to protect passwords is…
What are the Differences Between Visual Studio Code and Visual Studio?
Visual Studio Code and Visual Studio are two of the most popular editors used by developers today. Both tools are powerful, feature-rich and offer a…
How To Select Multiple Records using the List of Id’s with LINQ? Entity Framework
It is not a rare situation when it is necessary to make a selection of elements from the database based on the list of IDs….
How to Generate SQL Scripts for Previous Versions of MS SQL?
There are situations when you need to generate SQL scripts for earlier versions of the database server. For example, you may have 2019 installed in…
How to Change Visual Studio Theme? Change to Dark Theme
The Visual Studio allows changing themes. The default theme is “Blue”, let’s switch it to the “Dark” theme. To change the theme in Visual Studio…
How to use localeCompare() in JavaScript?
The localeCompare() method is a built-in JavaScript function that compares two strings in a case-sensitive or case-insensitive manner, based on the current locale. It returns…