Using MEF in a windows service? -
i'd use mef in windows service / wcf service.
the configuration of aggregatecatalog no problem, do methods createshell() , initializeshell()? service can't have shell, return null?
and create , run bootstrapper? in onstart of service class?
mef doesn't have createshell , initializeshell methods. think methods prism uses. prism ui application framework uses mef. since writing service, wouldn't use prism, use mef.
create compositioncontainer connected catalog you've created, , can pull exports container.
Comments
Post a Comment