NHibernate in WCF

  • Thread starter Thread starter GrzybSon
  • Start date Start date
G

GrzybSon

Hello,

Currently i'm starting project where we want to provide access to our
database (MS SQL) through WebServices layer (WCF) using NHibernate.

What are the main difficulties with integrating NH and WCF?
I want to create percall service where ISession is created for every WCF
method call. Are there issues with that solution?
 
Currently i'm starting project where we want to provide access to our
database (MS SQL) through WebServices layer (WCF) using NHibernate.

What are the main difficulties with integrating NH and WCF?
I want to create percall service where ISession is created for every WCF
method call. Are there issues with that solution?

It should work fine.

In general it is preferred to expose business logic and
not data objects as web services.

Arne
 
Back
Top