是否有 Nuget 包来为 Unity IOC 配置 WCF 应用程序?
有许多帖子展示了如何手动执行此操作 - 顺便说一句,我以前做过 - 但我很惊讶地发现没有 Nuget 包以类似的方式将此功能添加到您的 WCF 项目中您可以使用 Unity.MVC3 将 Unity 添加到 MVC3 项目。我搜索了在线 Nuget 包源目录,但一无所获。如果我错过了一些明显的事情,如果您能指出正确的方向,我将不胜感激。
There are a number of posts showing how to do it by hand -- which, incidentally, I've done before -- but I was surprised to find no Nuget package to add this functionality to your WCF project in a similar fashion to the way you can add Unity to an MVC3 project with Unity.MVC3. I searched the online Nuget package source directory but came up with nothing. If I missed something obvious, I'd appreciate it if you'd point me in the right direction.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
就在几天前 Paul Hiles 创建了 Unity.WCF NuGet 包。我已经验证它安装成功。源代码位于CodePlex。谢谢保罗!!
Just a couple of days ago Paul Hiles created the Unity.WCF NuGet package. I've verified it installs successfully. The source code is on CodePlex. Thanks Paul!!