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

Disposable Transient Components (WebApi Controllers) - Warning still exists in 2.8 #36

Closed
tynor88 opened this issue May 6, 2015 · 2 comments

Comments

@tynor88
Copy link

tynor88 commented May 6, 2015

The warning still exists in version 2.8, but according to this post on Stackoverflow, it was fixed in 2.8 http://stackoverflow.com/questions/28542970/simple-injector-lifestyle-warnings-for-web-api-controllers

I am using the _container.RegisterWebApiControllers(config) overload to register my Webapi controllers. I am analyzing the container with this method Analyzer.Analyze(_container)

@dotnetjunkie
Copy link
Collaborator

I'm unable to reproduce this issue. Can you show a code it takes to reproduce this?

@tynor88
Copy link
Author

tynor88 commented May 6, 2015

Sorry, please ignore this. For some reason my nuget manager was showing my package was updated to the newest version, but the reference in my project was not. I have updated it again, and everything is fine - there is no warning for WebApi controllers.

@tynor88 tynor88 closed this as completed May 6, 2015
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

2 participants