How to Access Database DBContext in the Middleware using Entity Framework In this article, we will see how to DBContext in Middleware Entity Framework in...
Continue ReadingUsing Entity Framework in Console Application
Using Entity Framework in Console Application In this post, we shall learn how to use Entity Framework in a Console application in the .NET Core....
Continue ReadingFile Logging using NLog in Windows Form Application
File Logging using NLog Windows Form Application in .NET Core Today in this article, we will see how to achieve File-based logging in Windows Forms...
Continue ReadingFile Logging using NLog in ASP.NET Core
File Logging using NLog in ASP.NET Core In this post, we will understand how to enable File Logging using NLog in ASP.NET Core and do customization...
Continue ReadingDependency Injection in Console app using generic HostBuilder – Part II
Dependency Injection in .NET Core Console app using Generic HostBuilder In this post, we shall learn how to perform dependency injection in the .NET Core...
Continue ReadingPowerShell execution of scripts is disabled on this system
PowerShell execution of scripts is disabled on this system Issue Description PowerShell commands the execution of scripts produces an error as below, ng : File...
Continue ReadingDefault implementations in Interfaces C# 8.0
Default implementations in Interfaces C# 8.0 In this article, we shall see the default Interface implementation feature made available in the recent C# 8.0 language...
Continue ReadingMongoDB Mock and Unit Test IAsyncCursor
MongoDB Driver Mocking and Unit Testing method that returns IAsyncCursor with example In this article, I shall talk about how to perform MongoDB Mock and...
Continue ReadingBasic Authentication in Swagger (OpenAPI) using OperationFilter in ASP.NET Core
Basic Authentication using OperationFilter in Swagger(OpenAPI) ASP.NET Core Today in this article, we shall discuss, how to enable Basic Authentication in Swagger (OpenAPI V3.0) documentation in...
Continue Reading