On ASP.NET MVC 2 I have an ActionFilterAttribute
called [Transaction]
that starts an NHibernate transaction before executing the a
I just asked a similar question on google forums. Here is the link https://groups.google.com/forum/#!topic/autofac/a0qqp2b3WA8
I got the answer:
builder.RegisterType().As();
builder.RegisterControllers(Assembly.GetExecutingAssembly()).InjectActionInvoker();
Then you can use property injection in your attributes.