-
Saw in another discussion post that unity is dead. I know it'll still work but wondering if there are plans in the PRISM team to replace unity as the default with another container such as the Microsoft ServiceLocator. If there were a switch to ServiceLocator it might make it simpler to integrate other microsoft packages that rely on it, such as the way add logging is handled, and allow some interoperability between PRISM desktop applications API code, and using that same code (without prism) in web applications. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
First of all we've been telling people they should use DryIoc and not Unity Container for at least the last 3-4 years. As for other containers, I do have one that I've looked at implementing as a secondary choice for people, but have not had the time to implement. Microsoft.Extensions.DependencyInjection unfortunately remains incompatible for Prism apps for a variety of reasons.
|
Beta Was this translation helpful? Give feedback.
-
Ah that's understandable then. Also didn't realize you'd gone away from recommending unity. I'd been following the guides on pluralsight which still focus on the Unity container. |
Beta Was this translation helpful? Give feedback.
First of all we've been telling people they should use DryIoc and not Unity Container for at least the last 3-4 years. As for other containers, I do have one that I've looked at implementing as a secondary choice for people, but have not had the time to implement. Microsoft.Extensions.DependencyInjection unfortunately remains incompatible for Prism apps for a variety of reasons.