Feature ‘using declarations’ is not available in C# 7.3. Please use language version 8.0 or greater Issue Description .NET build (MSBuild or Visual Studio) gives...
Continue ReadingResolved: The modifier is not valid in C#. Use language version and greater
The modifier is not valid in C#.Use language version and greater Issue Description .NET build (MSBuild or Visual Studio) gives below or similar format of...
Continue ReadingResolved: A serializer of type ObjectSerializer is not configurable using BsonRepresentationAttribute
System.NotSupportedException: A serializer of type ObjectSerializer is not configurable using an attribute of type BsonRepresentationAttribute Issue Description MongoDB C# driver gives below error, System.NotSupportedException: A...
Continue ReadingMongoDB Mock and Unit Test a method returning IAsyncCursor Synchronously
MongoDB Mock and Unit Test a method returning IAsyncCursor In this article, I shall talk about how to perform MongoDB Mock and Unit Test a...
Continue ReadingResolved:MissingMethodException: Method not found: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware
MissingMethodException: Method not found: StaticFiles.StaticFileMiddleware..ctor Issue Description Swagger Open API documentation gives below error in .NET Core WebAPI after installing/migrating old .NET Core application to...
Continue Reading