Screencast - Transactional NTFS and WCF

Download this episode

Download Video


Welcome back to the "Developer, Meet Server" screencast everybody Smiley.

In this screencast we will dive back into Transactional NTFS and look at how you can use it with WCF to build powerful transactional capabilities into a service-based system.

Sample Code: Transactional NTFS Demos.



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      Nice! I have a question about an attribute on this service.

      It was marked with the auto-complete attribute that votes to commit the transation if no exceptions occur. What effect does that have in this case?

      The client has to issue the commit in this scenario. Is the work performed by the service still uncommitted at the period of time "after the service method completes and before the commit button is clicked"? I suspect yes, so why have that attribute on the method? Is it just to play nice in case this service is invoked by a different type of client?
    • User profile image
      Thanks for the comment Andrew! I had mistakenly stated that during two-way communication (and, hence, a two-phase protocol) that AutoComplete simply voted back to the client that it's okay to commit.

      I went ahead and tested it without it and you are right, it is not necessary. So, thanks for pointing that out Smiley. I will look at updating the samples and the screencast.
    • User profile image
      Hi Jason,

      When I test the TxF/WCF demo on the Longhorn Dec CTP I get following error during the method 'CreateFileTransacted' :
      The Transaction object already has a superior enlistment, and the caller attempted an operation that would have created a new superior. Only a single superior enlistment is allow.

      Win32Error : 6709.

      Any idea what I should do to get the demo working?

      Thanks in advance.

    • User profile image

      did you solve this problem? I meet exactly the same thing on my project. And your source have still this problem.

      Thanks for your help

    • User profile image
      Same problem here Sad

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.