Cleaning up some transactional logic and wondered how other people were handling it.
Ayende's recommendation seems to be to handle transactions at the service boundary. This is a ASP.NET web app though, so it hasn't got a clear cut service boundary, at least not right now.
What do people do?
- Create a single transaction per request in a HttpModule and handle commit on EndRequest, rollback on Error?
- Create transactions in the actual "services" in the application and handle it multiple places?
- Something else?