New features?

Coordinator
Mar 13, 2009 at 9:01 PM
Are there features missing on the roadmap that you would like to see implemented, let me know.
Apr 16, 2009 at 9:37 PM
I would like to see TransactionScope support in file operations over storage.
Coordinator
Apr 25, 2009 at 9:38 AM
Hello Ricabrica,

> I would like to see TransactionScope support in file operations over storage.

Great idea, I have no idea how much work this would involve, or even not know where to start, but I've added the request to the wish list, thanks.
Coordinator
Jun 2, 2009 at 3:58 PM

The requested feature about adding TransactionScope support is still on the todo-list. Does anyone know of any articles how to implement transaction support whatsoever? If so please share it, such that I can take a look and dive into this problem area.

Nov 4, 2009 at 2:12 PM

I believe you need to implement IEnlistmentNotification so as to allow NFile to implement its own resource manager and participate in a System.Transactions.Transaction. I gather it's not all that straghtforward though, with particular issues around threading...

I'm currently building a doc management system with NFile as my preferred repository, so distributed transactions between NFile and the database are very important to me. I'm currently doing it all manually, by saving the modified/deleted file in a temp dir on the server until the DB transaction commits OK, so that I can re-insert the original file in the event of a rollback - it's getting rather ugly to be honest, and I'm on the verge of trying to implement IEnlistmentNotification myself, but can't quite bring myself to commit [no pun intended!] the time to it...

Coordinator
Nov 5, 2009 at 9:10 PM

Hi Henryd,

ok, thanks for the suggestion. One alternative could be to wait till MS releases the long awaited new file system with build-in support for transactions (don't know if that project was cancelled, or still being developed), but till that time there's no alternative as of yet. If you really need transactions you might maybe also be interested in checking out SQLite (which afaik does have transaction support; see the 'alternatives' section on http://nfilestorage.codeplex.com/).

Nov 6, 2009 at 8:37 AM
barkgj wrote:

One alternative could be to wait till MS releases the long awaited new file system with build-in support for transactions (don't know if that project was cancelled, or still being developed

Hi, yes, do you mean Transactional NTFS? Believe it was supposed to be going into Vista. Here's a link... http://msdn.microsoft.com/en-us/magazine/cc163388.aspx There's some good stuff on there...

Jun 10, 2010 at 9:50 AM

here is an implementation of file operations within transactions: http://transactionalfilemgr.codeplex.com/