<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>System.transactions on Ash Tewari</title><link>https://www.tewari.info/tag/system.transactions/</link><description>Recent content in System.transactions on Ash Tewari</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Wed, 17 Oct 2012 16:10:42 +0000</lastBuildDate><atom:link href="https://www.tewari.info/tag/system.transactions/feed.xml" rel="self" type="application/rss+xml"/><item><title>Understanding and Using System.Transactions</title><link>https://www.tewari.info/2012/10/17/understanding-and-using-system-transactions/</link><pubDate>Wed, 17 Oct 2012 16:10:42 +0000</pubDate><guid isPermaLink="false">http://www.tewari.info/?p=380</guid><description>&lt;p&gt;These are some resources to help grasp &lt;a href="http://msdn.microsoft.com/en-us/library/vstudio/system.transactions(v=vs.90).aspx" title="System.Transactions Namespace"&gt;System.Transactions&lt;/a&gt; functionality and use it effectively in your projects:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/vstudio/ee818755(v=vs.100).aspx"&gt;Features Provided by System.Transactions&lt;/a&gt; to &lt;a href="http://msdn.microsoft.com/en-us/library/vstudio/ee818751(v=vs.100).aspx"&gt;create transactional applications&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/vstudio/ee818746(v=vs.100).aspx"&gt;Implementing an Implicit Transaction using Transaction Scope&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;MSDN Magazine Articles by &lt;a href="http://www.johnpapa.net/"&gt;John Papa&lt;/a&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/magazine/cc163847.aspx"&gt;ADO.NET and System.Transactions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/magazine/cc163527.aspx"&gt;Revisiting System.Transactions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;These are specific to &lt;a href="http://msdn.microsoft.com/en-us/library/vstudio/system.transactions.transactionscope(v=vs.100).aspx"&gt;TransactionScope&lt;/a&gt;(the way to go in most cases):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Here is a practical example of &lt;a href="http://thewayofcode.wordpress.com/2011/12/11/handling-transactions-in-net-using-transactionscope/"&gt;Using TransactionScope to handle transactions in .net&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;This &lt;a href="http://msdn.microsoft.com/en-us/magazine/cc300805.aspx"&gt;article in MSDN Magazine&lt;/a&gt; gets in depth with the way a TransactionScope like functionality can be implemented. Gives you a good understanding of what is happening under the hood when using TransactionScope in some Repository implementations in multi-threaded scenarios.&lt;/li&gt;
&lt;li&gt;This CodeProject article is another example of &lt;a href="http://www.codeproject.com/Articles/31270/A-Transactional-Repository-Implementation-in-NET"&gt;implementing a transactional repository&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;There are &lt;a href="http://blogs.msdn.com/b/dbrowne/archive/2010/06/03/using-new-transactionscope-considered-harmful.aspx"&gt;excellent tips here&lt;/a&gt; about configuring TransactionScope when using it with SQL Server.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;This is a good resource for &lt;a href="http://www.codeproject.com/Articles/55472/Committable-Transactions-in-C-SQL"&gt;understanding CommitableTransaction&lt;/a&gt; usage.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;And this one on the CodeProject has brilliant, in-depth and under-the-hood coverage - &lt;a href="http://www.codeproject.com/Articles/35087/Truly-Understanding-NET-Transactions-and-WCF-Imple"&gt;Truly Understanding .NET Transactions and WCF Implementation&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>