5+ unable to resolve service for type microsoft extensions logging ilogger
For NET Core 31 be sure to include the. Package and configure logging by calling. Github Adams85 Filelogger A Lightweight Yet Feature Rich File Logger Implementation For The Microsoft Extensions Logging Framework ASPNET 30. . Unable to resolve service for type MicrosoftExtensionsLoggingILogger1 while attempting to activate ApplicationStartup Unable to resolve service for type. ILogger is no longer registered by default but ILogger is. If you want to log things after the Configure has been called you can still inject the ILogger via method injection as opposed to the preferred constructor. If you still want to use ILogger you can register it manually with the following in Startupcs. Unable to resolve service for type MicrosoftExtensionsLoggingILogger1WebApplication1Startup Unable to resolve service. Unable to resolve service for type MicrosoftExtensionsLoggingILogger Ive tried the solutions here but it didnt work for me. ...