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

LifestylePerWebRequest missing #359

Closed
pirovorster opened this issue Oct 18, 2017 · 3 comments
Closed

LifestylePerWebRequest missing #359

pirovorster opened this issue Oct 18, 2017 · 3 comments

Comments

@pirovorster
Copy link

I instolled Castle.Windsor into my aspnet core application but LifestylePerWebRequest() is not available on

Component.For<ISettingsService>().ImplementedBy<SettingsService>()

I don't understand why?

@jonorossi
Copy link
Member

LifestylePerWebRequest only supports System.Web, and System.Web functionality isn't available on .NET Core as documented in our readme.

There is work happening in #283 to bring ASP.NET Core support to Windsor, for now check out https://github.com/volosoft/castle-windsor-ms-adapter.

@blorger
Copy link

blorger commented Mar 15, 2019

Documentation (https://github.com/castleproject/Windsor/blob/master/docs/mvc-tutorial-part-1-getting-windsor.md) was not properly updated for this breaking change.

@jonorossi
Copy link
Member

@blorger no changes were made for this issue, the tutorial does not apply to .NET Core. If you are referring to the breaking changes in 5.0.0, then feel free to submit a pull request editing the tutorial.

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

3 participants