asp.net mvc 4 - So we've got MEF working with MVC4, how about the convention based model? -


after digging figured it's possible use mef di in mvc4, below link gives couple of examples:

how integrate mef asp.net mvc 4 , asp.net web api

they work fine, i'm wondering how eliminate need of explicitly "import" , "export" obvious controllers in mvc 4 app?

there suggestions on web, top programming minds' blogs. had little success in replicating success stories. name couple:

any suggestions please?

the version ships .net 4.0 has no built in way this. think mef 2 ships 4.5 , has more options including naming conventions. there version can download , use .net 4.0 somewhere on nuget.

microsofts continuous development , pre-releases of open source libraries great, quite hard work out features available in each release , version has made framework. can't find definitive answer...


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -