asp.net mvc 3 - Is there a way to fine tune Autofac MVC3 Action Injection? -


so got action injection autofac implemented in large mvc solution, or thought.

turned out there cases did not work properly.

in 1 of views posting manually information, , model binder able match properly, here:

public actionresult someaction(string[] textinfo, bool[] boolinfo, someviewmodel viewmodel) 

however enabled action injection:

builder.registercontrollers(typeof(mvcapplication).assembly).injectactioninvoker(); 

the first 2 parameters, being received empty arrays.

my hypothesis be, autofac figures out, not provided, , provides default value those. there way work around behavior? parameter-level attribute perhaps?


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -