ServiceStack/ServiceStack — pull request #214 by tal952 (2012-08-12 23:31:05+00:00)
Title: Add OnAfterExecute method to IAppHost for general execution purposes (like end db session)

This is a solution for using one db session per request as presented in this (my) stackoverflow question:

http://stackoverflow.com/questions/11901216/using-ravendb-with-servicestack