Plug-in architecture for ASP.NET MVC from ServiceStack
-
09-06-2021 - |
题
ServiceStack modules are so interesting. Iplugin interface also so good for Rest services. But where is pluggable mvc? :) Do you have any plan or else? When I say pluggable Mvc I mean Pluggable Areas!
解决方案
Why not just simply ask if there are a plugin system for ASP.NET MVC3?
I've described how you can use my contrib project to create plugins: http://blog.gauffin.org/2012/05/griffin-mvccontrib-the-plugin-system/
其他提示
You can also use ServiceStack's high-perf, testable caching, session, config and authentication/authorization components inside MVC websites as well - as described in ServiceStack's MVC PowerPack.
This previous answer shows how you can freely share any dependencies between ServiceStack and MVC by registering them in ServiceStack's built-in IOC and sharing them with MVC Controller factory.