Friday, March 4, 2011

How to use nhibernate with ASP.NET 3.5 (not MVC)

What is the best way to interop with NHibernate 2.0 and ASP.NET 3.5? How can I easily develop a CRUD application?

Is the ObjectDataSource the way to go?

Thank you.

From stackoverflow
  • you can watch screencasts at http://www.summerofnhibernate.com/ that will explain how to set up CRUD, and will shed some light on more advanced topics

  • You might find Rhino Commons a good option. It offers Repository<T> and UnitOfWorkApplication. Together these provide data gateway and session management in the context of a web application. Use with Castle.Service.Transaction to handle transactions transparently.

  • #include "printf.h"``
    

0 comments:

Post a Comment