NHibernate in WCF

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?
 
A

Arne Vajhøj

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top