Skip to content

Finds of the Week – December 8, 2007

It’s been a busy week. Here are my finds for this week:

.NET, Programming

  • PackageThis is a new CodePlex tool from the MSDN team that allows you to package your own MSDN Library content. Useful to get the latest MSDN content to use locally (fast).
  • Joe Shirey, a board member of the Microsoft Certified Architects program, has written a nice series about the Microsoft Certified Architects program.
  • Alik Levin advised that we should avoid populating passwords in memory, because it’s relatively easy to reveal. A walkthrough of how to use WinDbg to obtain passwords in memory is provided.
  • The Programmer Dress Code by Justin Etheredge is a fun read on what about programming that makes programmers generally dress like a slob. Pictures of famous programmers included.
  • GavinBenda (gavinbenda.com.au) posted a comprehensive guide to web charts and graphs.
  • Unit testing; how far do you push the envelope? (odecee blogs) is a interesting read on the issue of how much unit test code is enough.
  • SQL Server 2008 will have IntelliSense, by Ciz. I have not worked with SQL Server in a while but when I get back to it, this should help make it more fun.
  • Dan Wahlin wrote about the new C# 3.0 feature Automatic Properties. Dan also wrote a nice article on Visual Studio magazine on how to create rich web apps with AJAX.
  • Jeff Putz gave his impressions on Visual Studio 2008 after a couple of weeks of use.
  • One of the most annoying application behavior is stealing current focus. Jeff Atwood (Coding Horror) wrote on why stealing focus is never acceptable.
  • What’s Ailing ASP.NET Web Forms, by Rick Strahl, is a good article about some of the major problems/issues with ASP.NET web forms. Good read.

Software and Tools

  • XPathMania, by Don Demsak is a nice Visual Studio add-in to check XPath statements against the current XML document. Matches are listed in the XPathMania tool window as well as highlighted in the actual XML document. Double click on a match to move to it.

    xpathmania1

  • Picasa (from Google) is my current photo album/manager tool. It’s fast and fun to use. With Picasa Web Albums, it’s a very nice combination.

    google-picasa-1

And Now, Something Different

  • For Richmonders, if you feel like driving around one night in December to look at all the nice Christmas lighting sites in town, check out InRich.com’s Richmond’s Tacky Christmas Lights map. I have done a company sponsored Richmond Christmas lights bus tour in the past and I found it to be entertaining. With the InRich.com map, you can do your own personal tour.

    richmond-tacky-christmas-lights

  • Here’s my apprentice programmer Dat Do at 14 months old. I try to teach him C# but his code doesn’t quite compile yet. Maybe I should start him on QBASIC instead?

    dat-do-14-months

Light-weight System.Transactions in ODP.NET

Starting in ODP.NET version 10.2.0.3.3, support for light-weight transactions has been added. Here’s an excerpt from readme.txt:

This feature enables applications to use local transactions with System.Transactions where previous versions of ODP.NET supported only distributed transactions with System.Transactions. If the PromotableTransaction registry does not exist, the default value of “promotable” is used. If “promotable” is specified, first and subsequent connections opened in the same TransactionScope will enlist in the same distributed transaction. If “local” is specified, the first connection opened in the TransactionScope will use a local transaction. If any subsequent connections are opened within the same TransactionScope, an exception will be thrown. If there are connections opened already in the TransactionScope and an OracleConnection with “Promotable Transaction=local” is attempted to be opened within the same TransactionScope, an exception will also be thrown.

This is great for those of us who use ODP.NET with System.Transactions, especially if you use global temporary tables. I found out the hard way that global temporary tables are not supported with distributed transactions.

Version 10.2.0.3.3 is not yet available for download via Oracle.com. You have to request it through Metalink. Search for patch number 5916667. I have not tested this patch yet but I will soon.

Back To Top