I am just a simple beginner with both NHibernate and WCF. I would like to use NHibernate as my ORM in the class library where my repositories are. I also need to use WCF to expose my business logic, and behind that my repositories, to the rest of the company.
Is there some good documentation on how to accomplish this task? Are there pitfalls to take care off in advance? Any recommended reading/books?
I am looking for information on how to best integrate NHibernate in WCF. Do I use a HttpModule, have to wire up something in the global.asax of my service layer (using IIS hosting so I went for a web application project to start from). Do I go for Session per request or something else?