Multiple dynamic node providers as runtime plugins

Sep 8, 2011 at 12:22 PM
Edited Sep 8, 2011 at 12:42 PM


Thank you for such a great work you've been doing.

I like the provider and its great extensibility features but recently I came to a problem.
I would like to create a plugin architecture using some MEF magic where every plugin should implement its own dynamic node provider.

I have a couple of questions regarding the implementation:

1. How to implement dynamicaly loaded node providers at runtime with MvcSiteMapProvider?

I have an idea of having one master provider that will load the dynamic node "sub" providers but I want to know if there is another "cleaner" way.

2. How to display only nodes from 1 dynamic node provider at a time?

I want to display only 1 tree at a time that means only 1 dynamic provider nodes at a time without loading the whole sitemap.

3. How to avoid using of Mvc.Sitemap file that is not needed in my case?

Thanks in advance
Jakub T.