Screencast - Transactional NTFS and WCF

Sign in to queue

Description

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.

Embed

Download

Download this episode

The Discussion

  • User profile image
    AndrewDotHay
    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
    jolson88
    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
    wjansoone
    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.

    W.
  • User profile image
    Acerty31
    Hi,

    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

        Fred
  • User profile image
    Yankee
    Same problem here Sad

Add Your 2 Cents