|
Replies:
3
-
Pages:
1
-
Last Post:
Apr 30, 2009 2:41 PM
by: ben.scheirman
|
Threads:
[
Previous
|
Next
]
|
|
Posts:
8
From:
Brisbane
Registered:
5/22/08
|
|
|
|
NHibernate Session-per-Request pattern
Posted:
Apr 13, 2009 3:00 AM
|
|
8.2.4 Request Storage suggests looking at codecamp server for an example of the nhibernate session-per-request pattern. I was looking for a good example of session-per-request and found that in codecamp server it is buried in a tarantino base class. I'm just saying that it is not easy to find.
|
|
Posts:
54
From:
Houston, TX
Registered:
2/11/08
|
|
|
|
Re: NHibernate Session-per-Request pattern
Posted:
Apr 13, 2009 9:21 AM
in response to:
liammclennan
|
|
I agree, that example is not that easy to find. It's not really the point of the section, but I wanted to mention that Request storage is useful in some scenarios.
We'll look at this and decide whether to remove it completely or perhaps point to a different example.
|
|
Posts:
8
From:
Brisbane
Registered:
5/22/08
|
|
|
|
Re: NHibernate Session-per-Request pattern
Posted:
Apr 13, 2009 4:39 PM
in response to:
ben.scheirman
|
|
It would be great if there was a simpler example, although I suppose the link to mvc is tenuous.
|
|
Posts:
54
From:
Houston, TX
Registered:
2/11/08
|
|
|
|
Re: NHibernate Session-per-Request pattern
Posted:
Apr 30, 2009 2:41 PM
in response to:
liammclennan
|
|
I decided to just link directly to the class from the tarantino project within google code. I think it's noteworthy, even if it doesn't have ties directly with MVC, it does relate to code camp server and request storage.
Thanks for the suggestion.
|
|
|
Legend
|
|
Gold: 300
+
pts
|
|
Silver: 100
- 299
pts
|
|
Bronze: 25
- 99
pts
|
|
Manning Author
|
|
Manning Staff
|
|
Manning Developmental Editor
|
|