<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Webcast: Building your own block with Enterprise Library for .NET 2.0</title><link>http://blogs.msdn.com/tomholl/archive/2006/02/08/527827.aspx</link><description>Via Brian (because I can't be bothered paraphrasing the same content :-) This Thursday, Tom Hollander and I will be presenting a web cast on building your own application block using Enterprise Library January 2006. The talk will discuss how to take a</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Using TransactionScope with the Data Access Application Block</title><link>http://blogs.msdn.com/tomholl/archive/2006/02/08/527827.aspx#529009</link><pubDate>Fri, 10 Feb 2006 03:24:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:529009</guid><dc:creator>John Yung</dc:creator><description>Hi,&lt;br /&gt;&lt;br /&gt;I am using TransactionScope and Data Access Block 2.0 to manage distributed transactions. The following is my code:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;using (TransactionScope transScope = new TransactionScope()) {&lt;br /&gt;&lt;br /&gt;	using (DbConnection conn_saccorpaction = _dbsaccorpaction.CreateConnection()) {&lt;br /&gt;&lt;br /&gt;		conn_saccorpaction.Open();&lt;br /&gt;		try {&lt;br /&gt;			_dbsaccorpaction.ExecuteNonQuery(CommandType.Text, &amp;quot;exec sacprg.p_SACt_Insert &amp;quot; + txtPKey.Text);&lt;br /&gt;		} catch {&lt;br /&gt;			return;&lt;br /&gt;		}&lt;br /&gt;&lt;br /&gt;		using (DbConnection conn_sacdetails = _dbsacdetails.CreateConnection()) {&lt;br /&gt;&lt;br /&gt;			conn_sacdetails.Open();&lt;br /&gt;			try {&lt;br /&gt;				_dbsacdetails.ExecuteNonQuery(CommandType.Text, &amp;quot;exec sacprg.p_SACt_Insert &amp;quot; + txtPKey.Text);&lt;br /&gt;			} catch {&lt;br /&gt;				return;&lt;br /&gt;			}&lt;br /&gt;		}&lt;br /&gt;&lt;br /&gt;	}&lt;br /&gt;&lt;br /&gt;	transScope.Complete(); 	// &amp;nbsp;The Complete method commits the transaction.&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;My concern is since I am not explicitly setting the connection object to be use to execute all those SQL commands, is it possible for _dbsaccorpaction or _dbsacdetails to use another connection to execute those SQL commands?&lt;br /&gt;&lt;br /&gt;What happens if another thread is using the same database object to execute other SQL commands?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;John Yung</description></item><item><title>re: Webcast: Building your own block with Enterprise Library for .NET 2.0</title><link>http://blogs.msdn.com/tomholl/archive/2006/02/08/527827.aspx#531301</link><pubDate>Tue, 14 Feb 2006 01:37:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:531301</guid><dc:creator>Ravi K Pasumarthy</dc:creator><description>Hi,&lt;br&gt;&lt;br&gt;Currently i'm using VistaDB (embedded database) and its .net data provider in my project. And in the future we may be moving to sql server, now i have to write data access layer that is not dependent on the database, so i have choosen to use enterprise DAAB, but i dont know how to customize (pluging my vistadb classes) into enterprise library so that if i code this way database.createdatabase() will return vistadatabase. If you have any sample codes or articles that can explain the above scenario. It will be helpful for me.&lt;br&gt;&lt;br&gt;Thanks and Regards,&lt;br&gt;Ravi K Pasumarthy,&lt;br&gt;CCH, a Wolters Kluwer business,&lt;br&gt;Ravi_Kumar@cch.com</description></item><item><title>re: Webcast: Building your own block with Enterprise Library for .NET 2.0</title><link>http://blogs.msdn.com/tomholl/archive/2006/02/08/527827.aspx#532377</link><pubDate>Wed, 15 Feb 2006 11:28:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:532377</guid><dc:creator>Jonathan George</dc:creator><description>Hi, The link to the web cast doesn't appear to be correct - it points to a web cast on the configuration block. Any chance of fixing it, as I'd very much like to get hold of the presentation.&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Jon</description></item><item><title>re: Webcast: Building your own block with Enterprise Library for .NET 2.0</title><link>http://blogs.msdn.com/tomholl/archive/2006/02/08/527827.aspx#532626</link><pubDate>Wed, 15 Feb 2006 20:42:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:532626</guid><dc:creator>tomholl</dc:creator><description>Hi Jon -&lt;br&gt;&lt;br&gt;The link is correct but the title on the webcast site is wrong. I'll see if we can get this fixed.&lt;br&gt;&lt;br&gt;thanks&lt;br&gt;Tom</description></item><item><title>Data Access Application Block Faq</title><link>http://blogs.msdn.com/tomholl/archive/2006/02/08/527827.aspx#533167</link><pubDate>Thu, 16 Feb 2006 14:35:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:533167</guid><dc:creator>Harjeet</dc:creator><description>Hi, &lt;br&gt;&lt;br&gt;Anybody knows &amp;quot;How to set command timeout while using 'Data Access Application Block' &amp;quot; ?&lt;br&gt;&lt;br&gt;Please try to reply to harjeet.bhatia@opussoft.com&lt;br&gt;&lt;br&gt;Thanks &amp;amp; Regards,&lt;br&gt;&lt;br&gt;- Harjeet</description></item><item><title>re: Webcast: Building your own block with Enterprise Library for .NET 2.0</title><link>http://blogs.msdn.com/tomholl/archive/2006/02/08/527827.aspx#536059</link><pubDate>Tue, 21 Feb 2006 18:06:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:536059</guid><dc:creator>Sid D H Arthur</dc:creator><description>Slightly off-topic I know, but I would like to know if there are a performance degradation when using the Application Blocks? In particular, I'm thinking if there is a performance hit when Instrumentation (perfmon) is turned on for an application that is using the EAB2.</description></item><item><title>re: Webcast: Building your own block with Enterprise Library for .NET 2.0</title><link>http://blogs.msdn.com/tomholl/archive/2006/02/08/527827.aspx#546008</link><pubDate>Wed, 08 Mar 2006 11:36:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:546008</guid><dc:creator>Khuzema</dc:creator><description>Hi,&lt;br&gt;Is there any plan to update User Interface Process Application Block for Framework 2.0 and/or a reference application which includes both UIP and EntLib 2.0. &lt;br&gt;&lt;br&gt;If this is not right place for this info can you kindly point to site/community where i can send my comments.&lt;br&gt;&lt;br&gt;thanks &amp;amp; regards&lt;br&gt;</description></item><item><title>re: Webcast: Building your own block with Enterprise Library for .NET 2.0</title><link>http://blogs.msdn.com/tomholl/archive/2006/02/08/527827.aspx#546933</link><pubDate>Thu, 09 Mar 2006 10:42:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:546933</guid><dc:creator>Ramil</dc:creator><description>Hi,&lt;br&gt;&lt;br&gt;Is there a VB.NET version of this example code on how to create your own application block using Enterprise Library 2.0 January 2006?&lt;br&gt;&lt;br&gt;TIA.</description></item><item><title>re: Webcast: Building your own block with Enterprise Library for .NET 2.0</title><link>http://blogs.msdn.com/tomholl/archive/2006/02/08/527827.aspx#547448</link><pubDate>Thu, 09 Mar 2006 22:22:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:547448</guid><dc:creator>tomholl</dc:creator><description>Sorry all for the slow responses - I'll explain why in my next post :-)&lt;br&gt;&lt;br&gt;Sid: The performance profile of the EntLib v2 blocks is slightly different from the v1 blocks, mainly due to the change of configuration system and the introduction to ObjectBuilder. The &amp;quot;initial hit&amp;quot; to all blocks should now be much faster than in v1. The performance of subsequent calls varies depending on the block and configuration - although most blocks are slightly slower with instrumentation enabled but quicker with it disabled. Logging is quicker across the board. As always, you should run tests that reflect your environment and requirements to see if the blocks meet your performance goals.&lt;br&gt;&lt;br&gt;Khuzema: There are plans to update UIP - I know we've been saying that for a while but it's still in the plans. The owner of this is now Eugenio Pace (&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/eugeniop"&gt;http://blogs.msdn.com/eugeniop&lt;/a&gt;) so look out for details on his blog. &lt;br&gt;&lt;br&gt;Ramil: Sorry, not at this time. However the concepts demonstrated all apply to VB.NET as well as C#.&lt;br&gt;&lt;br&gt;Tom</description></item></channel></rss>