Back to list
Views:   7.8K
Replies:  1

Dynamic service registration on broker

Not sure if this is the correct forum to post this on but perhaps you have some patterns to help? I'm looking for an approach for a C# solution that dynamically exposing interfaces for a distributed service via a broker.

Client > Broker (or ESB) > Service

When a service starts up it automatically registers it's interface and endpoint with the broker.  All requests from clients go through the broker to make use of service functionality.

Any suggestions gratefully received,


Steve Hollidge, May 12, 2010
Reply 1
If I understand your requirement correctly, you may want to have a look at MEF  - Microsoft's new Managed Extensibilty Framework.
It has a flexible add-on model using Import and Export attributes.

According to Microsoft: Using MEF, .NET applications can make the shift from being statically compiled to dynamically composed. If you are building extensible applications, extensible frameworks and application extensions, then MEF is for you

Here is a link to codeplex: Managed Extensibility Framework
And here is an article on MEF by it Project Manager: Building Composable Apps in .NET 4 with the Managed Extensibility Framework

I hope this is helpful.
Dan McMillan, May 12, 2010
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.