shellprogressbar | display progress in your console application | Command Line Interface library
kandi X-RAY | shellprogressbar Summary
kandi X-RAY | shellprogressbar Summary
ShellProgressBar - display progress in your console application
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of shellprogressbar
shellprogressbar Key Features
shellprogressbar Examples and Code Snippets
Community Discussions
Trending Discussions on shellprogressbar
QUESTION
I upgraded my .net core 2.2 web api to .net core 3.1. I am now able to run it from console using dotnet myapi.dll
, however when I try to host it on ISS, I get following exception.
I have installed AspNetCore Module V2
and this module is throwing exception and I am not able to understand the missing part.
Autofac.Core.DependencyResolutionException: An exception was thrown while activating ?:Microsoft.Extensions.Hosting.IHostedService[] -> Microsoft.AspNetCore.Hosting.GenericWebHostService -> Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer.
---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Microsoft.AspNetCore.Server.IIS.Core.IISNativeApplication, Microsoft.Extensions.Hosting.IHostApplicationLifetime, Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider, Microsoft.Extensions.Options.IOptions``1[Microsoft.AspNetCore.Builder.IISServerOptions], Microsoft.Extensions.Logging.ILogger
Following is my Program.cs
ANSWER
Answered 2020-Feb-10 at 16:07Remove the Microsoft.AspNetCore.* nuget packages, those no longer exist in 3.0 so you're pulling in 2.x versions. https://docs.microsoft.com/en-us/aspnet/core/migration/22-to-30?view=aspnetcore-3.1&tabs=visual-studio#remove-obsolete-package-references
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install shellprogressbar
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page