Created
September 20, 2017 21:04
-
-
Save ankitvijay/5bab96c40a2a2f33c34d2ac97cb3254f to your computer and use it in GitHub Desktop.
Windsor Container Lifestyle Override
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var conatiner = new WindsorContainer(); | |
container.Kernel.ComponentModelBuilder.AddContributor(new PerWebRequestLifestyleOverrider()); | |
// Rest of your code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment