Wordpress like Plugin Framework in ASP.NET

2019-06-01 03:42发布

I am developing a CMS and I want to have a framework so anyone can plugin for it like the wordpress has.

I come to many solution but they are not that helpful.

Can anyone tell me a good solution...

Thanks

2条回答
The star\"
2楼-- · 2019-06-01 04:16
疯言疯语
3楼-- · 2019-06-01 04:33

I would probably start by looking at the Managed Extensibility Framework (http://www.codeplex.com/MEF). It is designed to be an framework to build plug-ins in a way that is consistent across different applications (basically so you don't have to understand how each app does it's plug-ins). It is, in fact, the method that Visual Studio 2010 is using for creating plug-ins.

Out of the box it gives you some nice features like monitoring directories for new plug-ins, and tracking dependencies. It is still up to you to design the interfaces/contracts needed for people to create plug-ins for your system, but it takes the grunt work out of it.

查看更多
登录 后发表回答