I have core library of code which has multiple front ends. One front end is a WCF service, another is a console app that just launches some long running commands which perform financial calcs and other business logic. I am trying to figure out how to manage my ISession in the console app. I 'could' just have one session per "command", but some of the commands are long running process and I am worried about having a session open for that long and/or it getting too bloated. Any pointers for this type of scenario?
Managing the NH session in a web app is so much easier... ;)