The result of the three steps I showed you in the previous section is that the knowledge about the implementation class that should be instantiated to fulfill requests for the IValueCalculator interface has been set up in Ninject.
结果是 三步 , 前面的部分 使用 Ninject 去 实例化 IValueCalculator接口

Of course, I have not improved my application because that knowledge remains defined in the Home controller, meaning that the Home controller is still tightly coupled to the LinqValueCalculator class.

当然 我没有提升我的应用是因为 Home controller 里面有定义, home controller 使用 LinqValueCalculator 类

In the following sections, I will show you how to embed Ninject at the heart of the MVC application, which will allow me to simplify the controller, expand the influence Ninject has so that it works across the app, and move the configuration out of the controller.

接下来部分, 将展示 怎样 嵌入 Ninject在 mvc 应用里 , 一个简单controller ,
拓展影响 到 Ninject , 从controller里分离配置.

翻译的烂大街哇

晕死

最新文章

  1. for in 遍历json
  2. AngularJS Moudle 函数讲解
  3. easyui 使用问题积累
  4. HTML页面的布局
  5. 安卓界面篇(一) 自定义一个topbar
  6. 关于 hangfire 初始化工作机制
  7. web服务器和应用服务器概念比较
  8. Asp.net 字体样式
  9. ubuntu远程连接
  10. GetMemory 函数解析
  11. Android 加速Gradle构建项目
  12. warning: in-class initialization of non-static data member is a C++11 extension [-Wc++11-extensions]
  13. java程序包不存在
  14. 模拟exit()退出命令实现
  15. 深入浅出AQS之共享锁模式
  16. 使用 dotTrace 分析 .NET Core 代码问题
  17. svn离线安装以及配置,管理python自动化脚本
  18. HDU 1556-Color the ball-树状数组
  19. Android JNI 传递对象
  20. Android Service总结05 之IntentService

热门文章

  1. vue面试的一些总结
  2. JMeter FTP测试计划
  3. sql计算上一周(解决了跨年会出错的问题)
  4. 洛谷P2858 奶牛零食 题解 区间DP入门题
  5. PHP 经典面试题集
  6. 最强常用开发库总结 - JSON库详解
  7. 从零开始入门 K8s | GPU 管理和 Device Plugin 工作机制
  8. Map2Shp软件字符编码解决方案——彻底杜绝Shape格式乱码
  9. Scala与Mongodb实践1-----mongodbCRUD
  10. springboot2 整合redis