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