AutoFac 在MVC中有特定的插件,可以簡化MVC程序的開發。 安裝使用nuget命令爲Install-Package Autofac.Mvc5 在Global中需增加配置方法1.
確定! 回上一頁