ASP.NET MVC4 NServiceBus Attribute/Filter StructureMap
问题 I'm having issues getting an instance of IBus in an action filter (attribute). From Setting IBus Property in MVC Filter, I know that DI and action filters don't play nice, and I got them play nice using the accepted answer. The problem is that getting DI and action filters to play nice breaks NServiceBus. That same question had a suggestion by John to look at the video store solution to see how to get it done. There are two problems with that answer: It totally ignores the fact that I'm using