Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for non-webhost scenarios #9

Open
kamranayub opened this issue Jul 30, 2021 · 0 comments
Open

Support for non-webhost scenarios #9

kamranayub opened this issue Jul 30, 2021 · 0 comments

Comments

@kamranayub
Copy link

I was just trying to use this with an Az function backend (.NET 5 isolated) and since this depends on web host abstractions, I get:

FailureException: System.InvalidOperationException: Unable to resolve service for type 'Microsoft.AspNetCore.Hosting.IHostingEnvironment' while attempting to activate 'Raven.DependencyInjection.RavenOptionsSetup'

For now I will workaround this by doing manual creation but this would be nice to support in the future!

Related: microsoft/ApplicationInsights-dotnet#1235

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant