Dependency Injection framework for Windows 8 metro apps

大兔子大兔子 提交于 2019-12-07 03:14:46

问题


i can't seem to find a dependency injection framework for windows 8 metro apps.

Is there a framework for win8 metro apps?

Ninject is not yet support for win8 metro. So does anybody have a suggestion? (Castle, Spring, ...)


回答1:


Here is the source for Ninject WinRT: https://github.com/remogloor/ninject It just not yet released.




回答2:


You could try Unity 3.0 for .NET4.5 Preview.




回答3:


I've been using the Beta version of Autofac Portable Library (which is supported in Metro apps) and it is working great so far.




回答4:


The Catel MVVM toolkit also contains a DI-container, it's metro version will be released this week (according to one of their developers): http://catel.codeplex.com



来源:https://stackoverflow.com/questions/10969417/dependency-injection-framework-for-windows-8-metro-apps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!