Creating a session is very quick but make sure you are not creating a session factory every time. You should Google nHibernate session factory management.
On Thu, Aug 19, 2010 at 6:57 PM, osman nuri katib <[email protected]> wrote: > I'm converting a web application based LINQ to NHibernate.But nhibernate is > too slow. > How can I accelerate it. In aspx file I'm using like this: > > using(ISession session=NHibernateHelper.OpenSession()) > { > //code > } > > before run command I'm generating a session.Is this true? > help please? > > -- > Osman Nuri KATİB > YTÜ > Bilgisayar Mühendisliği > > -- > 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. > -- 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.
