<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Include File Operations in Your Transactions Today with IEnlistmentNotification</title>
	<atom:link href="http://www.chinhdo.com/20080825/transactional-file-manager/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chinhdo.com/20080825/transactional-file-manager/</link>
	<description>Chinh's not quite random thoughts on software development, .NET, gadgets, and other things.</description>
	<lastBuildDate>Wed, 01 Feb 2012 12:26:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Nick L.</title>
		<link>http://www.chinhdo.com/20080825/transactional-file-manager/comment-page-1/#comment-118398</link>
		<dc:creator>Nick L.</dc:creator>
		<pubDate>Sat, 07 Jan 2012 22:57:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.chinhdo.com/20080825/transactional-file-manager/#comment-118398</guid>
		<description>Chinh-
Great write up and thanks for sharing. I have a need for something similar and your insight is helpful. I hope all is well and happy new year!
Nick</description>
		<content:encoded><![CDATA[<p>Chinh-<br />
Great write up and thanks for sharing. I have a need for something similar and your insight is helpful. I hope all is well and happy new year!<br />
Nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chinh Do</title>
		<link>http://www.chinhdo.com/20080825/transactional-file-manager/comment-page-1/#comment-111886</link>
		<dc:creator>Chinh Do</dc:creator>
		<pubDate>Wed, 30 Nov 2011 18:00:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.chinhdo.com/20080825/transactional-file-manager/#comment-111886</guid>
		<description>Ashwin:

Yes for what you need, IEnlistmentNotification will work.

ISinglePhaseNotification is to implement single-phase commits. Read more about single-phase and mult-phase commits here: http://msdn.microsoft.com/en-us/library/ckawh9ct(v=vs.80).aspx

In general, single-phase is more efficient. Two-phase is safer.</description>
		<content:encoded><![CDATA[<p>Ashwin:</p>
<p>Yes for what you need, IEnlistmentNotification will work.</p>
<p>ISinglePhaseNotification is to implement single-phase commits. Read more about single-phase and mult-phase commits here: <a href="http://msdn.microsoft.com/en-us/library/ckawh9ct(v=vs.80).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ckawh9ct(v=vs.80).aspx</a></p>
<p>In general, single-phase is more efficient. Two-phase is safer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashwin J</title>
		<link>http://www.chinhdo.com/20080825/transactional-file-manager/comment-page-1/#comment-111882</link>
		<dc:creator>Ashwin J</dc:creator>
		<pubDate>Wed, 30 Nov 2011 17:05:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.chinhdo.com/20080825/transactional-file-manager/#comment-111882</guid>
		<description>Just wanted to confirm my understanding that when i use 2 resources 1. Database Connection 2. File I/O inside a single transaction, i need to use IEnlishmentNotification only and i can&#039;t achieve the said fucntionlaity using ISinglePhaseNotification??? so this point is what is currently stopping me from making a decision to whether go with IEnlishmentNotification  or ISinglePhaseNotification</description>
		<content:encoded><![CDATA[<p>Just wanted to confirm my understanding that when i use 2 resources 1. Database Connection 2. File I/O inside a single transaction, i need to use IEnlishmentNotification only and i can&#8217;t achieve the said fucntionlaity using ISinglePhaseNotification??? so this point is what is currently stopping me from making a decision to whether go with IEnlishmentNotification  or ISinglePhaseNotification</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chinh Do</title>
		<link>http://www.chinhdo.com/20080825/transactional-file-manager/comment-page-1/#comment-111876</link>
		<dc:creator>Chinh Do</dc:creator>
		<pubDate>Wed, 30 Nov 2011 15:00:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.chinhdo.com/20080825/transactional-file-manager/#comment-111876</guid>
		<description>Ashwin: Sorry I don&#039;t have any additional info on ISinglePhaseNotification. But if what you need to do is have database and file ops wrapped in the same transactions, you should be able to use the current release of .NET Transactional File Manager. Is there any issue that prevents you from using that?</description>
		<content:encoded><![CDATA[<p>Ashwin: Sorry I don&#8217;t have any additional info on ISinglePhaseNotification. But if what you need to do is have database and file ops wrapped in the same transactions, you should be able to use the current release of .NET Transactional File Manager. Is there any issue that prevents you from using that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashwin J</title>
		<link>http://www.chinhdo.com/20080825/transactional-file-manager/comment-page-1/#comment-111858</link>
		<dc:creator>Ashwin J</dc:creator>
		<pubDate>Wed, 30 Nov 2011 09:53:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.chinhdo.com/20080825/transactional-file-manager/#comment-111858</guid>
		<description>While going through this article i also came across ISinglePhaseNotification Interface and also a link to &quot;Optimization using Single Phase Commit and Promotable Single Phase Notification&quot; http://msdn.microsoft.com/en-us/library/ms229980(v=vs.90).aspx
,
 Can you let me know when should one go for a Implmenting  
ISinglePhaseNotification Interface vs. IEnlistmentNotification Interface.

I am currently having a database delete and file delete operations to be performed within a single transaction.

Thanks for the reply in advance</description>
		<content:encoded><![CDATA[<p>While going through this article i also came across ISinglePhaseNotification Interface and also a link to &#8220;Optimization using Single Phase Commit and Promotable Single Phase Notification&#8221; <a href="http://msdn.microsoft.com/en-us/library/ms229980(v=vs.90).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms229980(v=vs.90).aspx</a><br />
,<br />
 Can you let me know when should one go for a Implmenting<br />
ISinglePhaseNotification Interface vs. IEnlistmentNotification Interface.</p>
<p>I am currently having a database delete and file delete operations to be performed within a single transaction.</p>
<p>Thanks for the reply in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chinh Do</title>
		<link>http://www.chinhdo.com/20080825/transactional-file-manager/comment-page-1/#comment-104621</link>
		<dc:creator>Chinh Do</dc:creator>
		<pubDate>Mon, 24 Oct 2011 16:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.chinhdo.com/20080825/transactional-file-manager/#comment-104621</guid>
		<description>Shukhrat: Which version of the code are you using? I tested with the latest code (you can download from CodePlex) and it works fine:
               Assert.IsFalse(_target.DirectoryExists(@&quot;\\server\share&quot;));
               Assert.IsTrue(_target.DirectoryExists(@&quot;\\vpc01\test&quot;));</description>
		<content:encoded><![CDATA[<p>Shukhrat: Which version of the code are you using? I tested with the latest code (you can download from CodePlex) and it works fine:<br />
               Assert.IsFalse(_target.DirectoryExists(@&#8221;\\server\share&#8221;));<br />
               Assert.IsTrue(_target.DirectoryExists(@&#8221;\\vpc01\test&#8221;));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shukhrat Nekbaev</title>
		<link>http://www.chinhdo.com/20080825/transactional-file-manager/comment-page-1/#comment-104609</link>
		<dc:creator>Shukhrat Nekbaev</dc:creator>
		<pubDate>Mon, 24 Oct 2011 14:38:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.chinhdo.com/20080825/transactional-file-manager/#comment-104609</guid>
		<description>Hi,

how about working with network pathes? 
For example following: Directory.Exists(pathTargetProjectFolder) vs fileMgr.DirectoryExists(pathTargetProjectFolder) former returns true, latter false or fileMgr.CreateDirectory(pathTargetProjectFolder) fails with System.ArgumentException: Path cannot be the empty string or all whitespace, but Directory.CreateDirectory(pathTargetProjectFolder) succeedes.

Application is impersonated.

Thank you!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>how about working with network pathes?<br />
For example following: Directory.Exists(pathTargetProjectFolder) vs fileMgr.DirectoryExists(pathTargetProjectFolder) former returns true, latter false or fileMgr.CreateDirectory(pathTargetProjectFolder) fails with System.ArgumentException: Path cannot be the empty string or all whitespace, but Directory.CreateDirectory(pathTargetProjectFolder) succeedes.</p>
<p>Application is impersonated.</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pratik Kothari</title>
		<link>http://www.chinhdo.com/20080825/transactional-file-manager/comment-page-1/#comment-81446</link>
		<dc:creator>Pratik Kothari</dc:creator>
		<pubDate>Wed, 27 Oct 2010 21:50:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.chinhdo.com/20080825/transactional-file-manager/#comment-81446</guid>
		<description>Should I implement IDisposable interface for TxEnlistment class or is it not needed?</description>
		<content:encoded><![CDATA[<p>Should I implement IDisposable interface for TxEnlistment class or is it not needed?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Transactional File Manager Is Now On CodePlex &#187; Chinh Do</title>
		<link>http://www.chinhdo.com/20080825/transactional-file-manager/comment-page-1/#comment-78683</link>
		<dc:creator>Transactional File Manager Is Now On CodePlex &#187; Chinh Do</dc:creator>
		<pubDate>Tue, 08 Jun 2010 22:39:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.chinhdo.com/20080825/transactional-file-manager/#comment-78683</guid>
		<description>[...] I’ve gone open source with my Transactional File Manager. It’s my first open source collaboration! Check out the CodePlex link here. [...]</description>
		<content:encoded><![CDATA[<p>[...] I’ve gone open source with my Transactional File Manager. It’s my first open source collaboration! Check out the CodePlex link here. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chinh Do</title>
		<link>http://www.chinhdo.com/20080825/transactional-file-manager/comment-page-1/#comment-78682</link>
		<dc:creator>Chinh Do</dc:creator>
		<pubDate>Tue, 08 Jun 2010 21:33:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.chinhdo.com/20080825/transactional-file-manager/#comment-78682</guid>
		<description>I have published the code to Codeplex (http://transactionalfilemgr.codeplex.com/). Cheers.</description>
		<content:encoded><![CDATA[<p>I have published the code to Codeplex (<a href="http://transactionalfilemgr.codeplex.com/" rel="nofollow">http://transactionalfilemgr.codeplex.com/</a>). Cheers.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

