Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Screencast - Transactional NTFS and WCF

Download

Right click “Save as…”

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.

Tags:

Follow the Discussion

  • AndrewDotHayAndrewDotHay Relax, have a home brew.
    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?
  • 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.
  • 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.
  • 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
  • Same problem here Sad

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.