---
title: "File I/O Support In Transactions"
url: "https://osherove.com/blog/2003/4/16/file-io-support-in-transactions.md"
canonical: "https://osherove.com/blog/2003/4/16/file-io-support-in-transactions.html"
published: "2003-04-16T03:52:00"
updated: "2003-04-16T03:52:00"
tags: [".Net Original"]
author: "Roy Osherove"
description: "I was recently at a lecture concerning .Net and COM+. Wow. COM+ is really powerful. I never got the chance to work with it on any of the projects I have created, but I did play with it here and there. I never knew there…"
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# File I/O Support In Transactions

By Roy Osherove April 16, 2003 In [.Net Original](https://osherove.com/blog/category/net-original)

**Historical article** · Originally published April 16, 2003; technical details may be outdated.

I was recently at a lecture concerning .Net and COM+. Wow. COM+ is really powerful. I never got the chance to work with it on any of the projects I have created, but I did play with it here and there. I never knew there was so much it provided, though. I only knew about connection pooling and object pooling, and Distributed transaction support. One of the things mentioned with regards to transaction processing was this:

Suppose you have a set of actions which also needs to update an external file on success. Encompassing this in a transaction is pretty simple, until we come to the file processing. this cannot be encompassed with transactions since it's not a database related action. However, COM+ support what is called "[Compensating Resource Manager](http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cossdk/htm/pgservices_crm_9yr6.asp)". this allows you to basically add your own support for the transaction, and perform custom actions that support transactions. This is not trivial, however and not very well known.

This whole concept brings to mind something I have heard about the upcoming version of "Yukon". This version is supposed to be integrated with the file system itself . Now, The next logical step would be to ask "Will transactions now support file system operations as well - natively - , now that there is generic support for File System types?" My guess is that its pretty reasonable, but who do I ask?

## More in .Net Original

[All posts in .Net Original](https://osherove.com/blog/category/net-original)

- Apr 27, 2003

    ### [More Debugger Problems: aspnet\_regiis does not work on Windows 2003 Server](https://osherove.com/blog/2003/4/27/more-debugger-problems-aspnet_regiis-does-not-work-on-window.html)

- Apr 27, 2003

    ### [Regular Expressions And Log Parsing](https://osherove.com/blog/2003/4/27/regular-expressions-and-log-parsing.html)

- Apr 15, 2003

    ### [Debugging Problem](https://osherove.com/blog/2003/4/15/debugging-problem.html)

- Apr 11, 2003

    ### [Typed Datasets - Can You Get Much Cooler?](https://osherove.com/blog/2003/4/11/typed-datasets-can-you-get-much-cooler.html)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
