I just started using StructureMap in my MVC apps, and everything goes fine, excepts handling my ITranscation
the correct way.
What I want to do is create a new ISession on each request. Together with this I want to start a transcation.
On the end of the request I will commit the transcation.
My question is, how can I do this the best way with StructureMap. I found a lot of examples on Google, but none of them starts a transcation with the request, and I really don t want to do this in my methods.
Thanks in advance!