MEF with MVC 4 or 5 - Pluggable Architecture (2014)

后端 未结 3 1066
遇见更好的自我
遇见更好的自我 2020-11-30 16:15

I am trying to build a MVC4/MVC5 application with a pluggable architecture like Orchard CMS. So I have a MVC application which will be the startup project and take care of a

3条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-30 16:59

    Just be aware that MEF's container has a "nice feature" that keeps references to any IDisposable object it creates, and will lead to huge memory leak. Allegedly the memory leak can be addressed with this nuget - http://nuget.org/packages/NCode.Composition.DisposableParts.Signed

提交回复
热议问题