Create and Publish NuGet Package using Visual Studio In this article, we will see How to create NuGet package visual studio using Visual Studio and...
Continue ReadingSystem.Text.Json: ‘The collection type ‘System.Collections.Generic.Dictionary` is not supported
System.Text.Json: The collection type ‘System.Collections.Generic.Dictionary[System.Int32,System.String]is not supported Issue Description JSON serialization using System.Text.Json produces the below error in the.NET/.NET Core application. System.NotSupportedException: 'The collection type 'System.Collections.Generic.Dictionary`2[System.Int32,System.String]'...
Continue ReadingFix: The JSON value could not be converted to System.String (System.Text.Json, .NET 10)
Fix "The JSON value could not be converted to System.String" in .NET 10: match your C# types, add a flexible string converter, or use Newtonsoft...
Continue ReadingMock and Unit Test ASP.NET Middleware
Mock and Unit Test ASP.NET Middleware Component In this article, we shall see how to Mock and Unit Test ASP.NET Core Middleware component. As we...
Continue ReadingThe Query (LINQ) expression could not be Translated Entity Framework Core
The Query (LINQ) expression could not be Translated Entity Framework Core Issue Description LINQ expression in Entity Framework core runtime gives below error or similar...
Continue Reading