liammclennan (8) [Avatar] Offline
#1
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.
ben.scheirman (54) [Avatar] Offline
#2
Re: NHibernate Session-per-Request pattern
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.
liammclennan (8) [Avatar] Offline
#3
Re: NHibernate Session-per-Request pattern
It would be great if there was a simpler example, although I suppose the link to mvc is tenuous.
ben.scheirman (54) [Avatar] Offline
#4
Re: NHibernate Session-per-Request pattern
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.