register the session factory with autofac as a singleton. On Nov 3, 7:55 am, Sergey Lobko-Lobanovsky <[email protected]> wrote: > Understood, thanks. Actually I am already using an IoC container called > Autofac. > > On Wed, Nov 3, 2010 at 11:16 AM, kor <[email protected]> wrote: > > building a configuration is an expansive operation that it's needed > > only once for application life, if you want you can inject it with a > > ioc and singletone behaviour or you can move it to an external static > > class > > > -- > > You received this message because you are subscribed to the Google Groups > > "nhusers" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<nhusers%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/nhusers?hl=en.
-- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
