c# - Is it a good idea to make my MEF parts lifetime Shared on this case? -



c# - Is it a good idea to make my MEF parts lifetime Shared on this case? -

i've used csla part of web solution's architecture and, in order able manage repository pattern, ioc container dataaccess layer works mef (by using csla-contrib). known first load of mef catalog takes while deppending on how huge libraries.

the point solution works ok moment but, after break times no 1 uses solution takes while load , because mef catalog loaded again.

i've been thinking of changing life time of each part shared instances available until mef catalog disposed.

do think it's thought create alter mef parts?

thank you attention.

ronald

i forgot absolutely important: configuration of pools.

as remember, default inactivity time 20 pool. if applications associated pool has no activity after 20 minutes iis closes working process if utilize web apps after time working process start 1 time again (and initial charge of catalog).

what did set inactivity time 0 , configured refreshing time of pool (in order clean memory @ proper times).

anyway, give thanks attention.

c# iis repository-pattern mef csla

Comments

Popular posts from this blog

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -