基于MVC 和Autofac 的松耦合系统架构研究

杨晔

电脑与电信 ›› 2015, Vol. 1 ›› Issue (6) : 60-62.

电脑与电信 ›› 2015, Vol. 1 ›› Issue (6) : 60-62.
应用技术与研究

基于MVC 和Autofac 的松耦合系统架构研究

  • 杨晔
作者信息 +

Loosely Coupled System Architecture Research Based on MVC and Autofa

  • Yang Ye
Author information +
文章历史 +

摘要

IoC 模式能够帮助开发者将来自不同项目的组件组装成为一个内聚的应用程序,使用Autofac 来管理组件之间 的关系可以“扁平化”错综复杂的类依赖,具有很好的适应性和便捷度。本文在研究IoC 模式的基础上,将Autofac 和ASP.Net MVC 结合构建一个松耦合的系统。

Abstract

IoC pattern can help developers to assemble components from different projects into a cohesive application system. Autofac is used to manage the relationship between components. It can flat complex dependences of classes and it has good adaptability and convenience degree. Based on the research of IoC pattern, this paper combines Autofac and ASP.Net MVC to build a loosely coupled software application system.

关键词

松耦合 / IoC / DI / Autofac / MVC

Key words

loosely coupled / Inversion of Control / Dependency Injection / Model View Control

引用本文

导出引用
杨晔. 基于MVC 和Autofac 的松耦合系统架构研究[J]. 电脑与电信. 2015, 1(6): 60-62
Yang Ye. Loosely Coupled System Architecture Research Based on MVC and Autofa[J]. Computer & Telecommunication. 2015, 1(6): 60-62
中图分类号: TP311.52   

Accesses

Citation

Detail

段落导航
相关文章

/