ASP.NET Core SQL Server and MySQL database logging with Serilog

ASP.NET Core SQL Server and MySQL database logging with Serilog How to use the ASP.NET Core's built-in ILogger logging API to write application logs to SQL Server, MySQL and/or MariaDB using Serilog logging provider

In this article we’ll see how to take advantage of Serilog, a neat open-source diagnostic logging library for .NET applications, to log our ASP.NET Core web application’s data to a …

Read More
ASP.NET Core C# - How to lock an async method according to custom IDs

ASP.NET Core C# – How to lock an async method according to custom IDs Introducing LockProvider, a lightweight C# class that can perform sync and async locking for custom unique IDs using the SemaphoreSlim class

If you’re working with ASP.NET or ASP.NET Core C#  and you need to prevent (or restrict) the access and/or execution of certain methods from multiple threads, the best approach you …

Read More
How to fix the "No executable found matching command dotnet-ef" error in Visual Studio with .NET Core