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?
Resolving ‘Error TS1219’ in Angular Build: Handling Experimental Decorators in Visual Studio 2022
A few weeks back, I encountered a build issue accompanied by the following error: Severity Code Description Project File Line Suppression State Error TS1219 Build:Experimental…
Blazor Error – Microsoft.JSInterop.JSException: Converting circular structure to JSON
A few days ago I faced with console error in the Blazor Webassembly .NET 7 application: Microsoft.JSInterop.JSException: Converting circular structure to JSON –> starting at…
How Many Times a Substring Occurs in a Value? MS SQL
There are situations where you may need to determine the number of occurrences of a specific substring within a larger string. Whether it’s analyzing textual…
Stopwatch C# Example
The Stopwatch class is a fundamental component of the .NET framework, specifically in the System.Diagnostics namespace. It provides a comprehensive set of methods and properties…
How to Fix Automapper Error? “Unmapped members were found. Review the types and members below.”
A few days ago I installed Automapper in my C# project. And I faced with the next error: “Unmapped members were found. Review the types…
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…