Multiple instantiations of services, repositories and data-contexts within one http-context, why?!

Nov 25, 2009 at 8:13 PM

Dear Developers!

Thank you for best architecture of web application I can see, really excellent! :))

But one moment break my heart :((

This moment is very bad performance, for example: you use Unity, and often call Resolve method within one http-context, so many instantiations of services, repositories and data-contexts. Why?!

Regards, Alexey Ostapenko. Russia.

Nov 26, 2009 at 5:56 AM

I don't think it's a problem

Nov 26, 2009 at 1:16 PM

Not a problem is multiple instantiations of same data-contexts (many time to constract one instance)

or not a problem the bad performance?