Thanks for the tip, if you're *stuck* using web forms, Rhino Igloo would be a better route.
Unfortunately, my particular situation would make it very difficult to use since it requires that the page inherit from a BasePage class; all of our pages already inherit from a base page and provide a lot of the same functionality. I really just want the container services is all. On Tue, Dec 9, 2008 at 8:58 AM, Nathan Stott <[EMAIL PROTECTED]> wrote: > Have you looked at Rhino Igloo? > > > On Tue, Dec 9, 2008 at 10:50 AM, Shawn Neal <[EMAIL PROTECTED]> wrote: > >> I would like to use Windsor with a traditional ASP.NET application, but I >> want to avoid an explicit dependency upon the container in my pages. I want >> to avoid calls like: IFooService svc = Container.Resolve<IFooService>(). I >> like the way MonoRail handles this (amongst other things) by having the >> controller automatically created with its dependencies provided. >> >> I created an >> HttpModule<http://code.google.com/p/sneal/wiki/AspNetWindsorModule>that does >> this. Its not perfect, and there are some things I would change, >> but it works for my own selfish needs as of now. Essentially it scans the >> page looking for settable properties and then does a "buildup" of >> dependencies using Windsor. Similar to how the Unity container does it (I >> think). >> >> >> - Is there a facility or something that already exists that does this >> within the Castle project? >> - Is this something that would useful as part of the Castle project or >> contrib? >> - Are there any plans to add BuildUp method to the container? I know >> Ayende >> mentioned this on >> blog<http://ayende.com/Blog/archive/2008/02/24/Reviewing-Unity.aspx>some >> time ago. >> >> I welcome any feedback, thoughts, or comments. >> >> Cheers, >> Shawn >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en -~----------~----~----~----~------~----~------~--~---
