Eugenio Pace

Preparing to be wrong

Browse by Tags

Tagged Content List
  • Blog Post: MVC–Unity–challenge answer

      The answer (or better yet, my answer): The proof:   This is leveraging the use of a name when registering a type and using the convention of using the same name for all types in the same context (“A” and “B” in my little sample). Thanks Chris for the suggestion to use this feature. I’ve done...
  • Blog Post: Unity and MVC–Resolving types challenge

    Imagine you have a situation like this: 2 MVC controllers (A and B) have a dependency on Svc A . SvcA has a dependency on SvcB and a component implementing IX . SvcB has a dependency on something implementing IY . Every time the system resolves CtrlA we want to provide Y1 and every time it resolves CtrlB...
Page 1 of 1 (2 items)