依赖注入、IoC和Mocking终于用简单易懂的方式解释了!

发布于 2024-09-04 11:47:35 字数 321 浏览 3 评论 0原文

一周来我一直在用头撞墙试图理解这些概念。当我在 ASP.NET MVC NerdDinner 应用程序教程中发现对这些概念的非常易于理解且简单的解释时,我感到非常惊讶。我向所有努力获得“啊哈”时刻的人建议这个。

http://nerddinnerbook.s3.amazonaws.com/Part12.htm

太好了我没有任何问题,也不会(手指交叉)被埋葬,哈哈。

希望它对某人和对我一样有帮助。

I've been banging my head against the wall trying to understand these concepts for a week now. I was really surprised when I came across with a very understandable and simple explanations of these concepts in the ASP.NET MVC NerdDinner application tutorial. I suggest this to anyone struggling to have that 'aha' moment.

http://nerddinnerbook.s3.amazonaws.com/Part12.htm

It's so good that I don't have any questions and won't (fingers crossed) be buried, lol.

Hopefully it will be as helpful to someone as it was to me.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

2024-09-11 11:47:35

我发现这个演讲对于理解依赖注入如何有益于测试非常有帮助:“The Clean Code Talks -- Unit测试”

I found this talk really helpful for understanding how dependency injection benefits testing: "The Clean Code Talks -- Unit Testing"

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文