I am trying开发者_Python百科 out various frameworks implementations for AOP and I am really liking Ninject, however there is one criteria I just cannot get working for the life of me.
I have Ninject configured to do DI in an ASP.NET MVC 3 application. This is working fine and it injects the proper classes in to my controllers.
I have a set of custom ASP.NET server controls, most of which derive from CompositeControl.I want to implement a uniform look for \"required\" fields across all control types by wrapping each control