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

c# - ASP.NET MVC Sequence contains no matching element -

java - Parsing XML, skip certain tags -

rest - How to invalidate user session on inactivity in a stateless server? -