开发者

ASP.NEt MVC 3 P1 Dependency Injection to Filters

开发者 https://www.devze.com 2023-01-10 07:18 出处:网络
I have read through Brad Wilson\'s series of \"ASP.NET MVC 3 Service Location\" (http://bradwilson.typepad.com/blog/2010/07/service-location-pt4-filters.html) and tried to get the DI work with Unity,

I have read through Brad Wilson's series of "ASP.NET MVC 3 Service Location" (http://bradwilson.typepad.com/blog/2010/07/service-location-pt4-filters.html) and tried to get the DI work with Unity, but开发者_StackOverflow it would not (System.NullReferenceException). Have searched everywhere but can find nothing that takes up the subject. So, how do I resolve it with the DI and Action Filters?

Sorry for my English.


Everything was as it should be. The answer can be found here http://forums.asp.net/t/1598945.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消