Today in this article will see how to access HttpContext in ASP.NET Core or .NET C# application. You might find multiple needs to access HTTP...
Continue Reading
System.Text.Json: Invalid Start of a Value or Property Name
System.Text.Json: a less-than sign as invalid start of a value means HTML, not JSON. Also fixes quotes, comments and trailing commas (.NET 10).
Continue ReadingAPI Versioning in ASP.NET Core with Examples
Today in this article, we will cover how to enable REST API Versioning in ASP.NET Core. We will understand the importance of versioning and the...
Continue Reading
Fix: ng is not recognized as an internal or external command
Fix 'ng is not recognized' on Windows after installing Angular CLI: reinstall @angular/cli globally and check that the npm global folder is on PATH.
Continue Reading
Export DataSet or DataTable to Excel in C# .NET (Examples)
Export dataset to Excel in C# with ClosedXML or the Open XML SDK. Tested code for .NET 8, 9 and 10, and Microsoft Office is...
Continue Reading