System.InvalidOperationException : No method public static IHostBuilder CreateHostBuilder Issue Description: .NET Core Integration Testing runtime gives below error, System.InvalidOperationException : No method ‘public static IHostBuilder...
Continue ReadingConsume WCF Web Services – Global .NET Tool dotnet-svcutil
Consuming WCF Web Services in .NET Core using svcutil CLI tool Today in this article, we will see how to Consume WCF Web Services –...
Continue Reading.NET Core not showing in Visual Studio 2019
.NET Core 3.0 not showing in Visual Studio 2019 My recent struggle to see .NET Core 3.0 in VS2019 finally worked out. Initially, I had...
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 ReadingIServiceCollection doesn’t contain a definition of AddSwaggerGen
IServiceCollection doesn’t contain a definition of AddSwaggerGen Issue Description Swagger doesn’t recognize AddSwaggerGen after adding swagger NuGet package i.e Swashbuckle. IServiceCollection’ does not contain a...
Continue Reading