c# Programming Glossary: myactionfilter
Injecting dependencies into ASP.NET MVC 3 action filters. What's wrong with this approach? http://stackoverflow.com/questions/7192543/injecting-dependencies-into-asp-net-mvc-3-action-filters-whats-wrong-with-this that needs an instance of that service public class MyActionFilter ActionFilterAttribute private IMyService _myService How do we.. sloppy and tight coupling with the container public class MyActionFilter ActionFilterAttribute private IMyService _myService public MyActionFilter.. ActionFilterAttribute private IMyService _myService public MyActionFilter this MyStaticKernel.Get IMyService using Ninject but would apply..
|