If the problem is just the webcontext what you have to do is a custom 
implementation of ICurrentSessionContext.
The full real support of dnx is another matter... a little bit more 
complicated.
BTW with the full .NET framework NH should work. 

On Thursday, September 17, 2015 at 6:40:40 PM UTC-3, Riy wrote:
>
> Hi Patric,
>
> I am testing it against DNX, I had removed DNX core from project.json.
>
> I got error for webcontext since nHibernate is looking for a context to 
> bind the session and MVC6 doesn't provide webcontext out of the box there 
> it fails.
>
> I attached my project, if possible please take a look into it and do let 
> me know if I am doing something wrong or point me in right direction from 
> where I can upgrade my projects.
>
> Thanks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to