I put together a solution based on the Castle one from nhforge, but doesn't require you to have Castle. You can read it here: http://www.lucisferre.org/index.php/2009/06/18/speed-up-nhibernate-startup-with-object-serialization?blog=2 . It isn't anything that hard, but I hope it is useful to people who are not familiar with object serialization/deserialization (like myself ;-))
-Chris On Sat, Jun 13, 2009 at 5:42 AM, Jozef Sevcik <[email protected]> wrote: > > serialization of NHibernate.Cfg.Configuration > > http://nhforge.org/blogs/nhibernate/archive/2009/03/13/an-improvement-on-sessionfactory-initialization.aspx > > I use BinaryFormatter to serialize/deserialize Configuration, does not > depend on Castle (to reply to your comment on this article..) > > 2009/6/13 antoschka <[email protected]>: > > > > I did some searching to the topic mentioned above. > > > > It seems that using one hbm file instead of separate ones solves a lot > > of problems. However I would like to go on having separate files > > during development - how could I achieve a merging to one hbm file > > each time I build my solution and make it as an embedded resource? > > > > What else can I do to improve startup time?? > > > > Thanks for your help > > > > antoschka > > > > > > > > > -- > Jozef > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
