asp.net mvc 项目需要实现plugin功能:
参考方案 http://blog.longle.net/2012/03/29/building-a-composite-mvc3-application-with-pluggable-areas/
问题: plugin安装后,必须重启整个host应用,才能使得plugin生效。
a 通过修改web.config的方式发现,plugin dll并没有被加载 - 不可行
b 通过向host程序的bin目录下,放入一个假.dll的方式,plugin dll可被加载 - 可行