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

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -