Geeks With Blogs

News FAQ on the correct forum to post at: http://forums.asp.net/p/1337412/2699239.aspx#2699239
Tatworth
At http://geekswithblogs.net/codeWithoutFear/archive/2012/06/28/raii-in-csharp.aspx, there is an interesting article on an excellent way of handling the disposal of unmanaged code items such as database connections, where the use of a using is not appropriate.

One of the items that is rarely considered from the outset of dot Net development is running FXCOP to check check that there are no issues detectable by static code analysis. FXCOP is a free tool that available as part of the platform SDK. It is also available integrated into the Visual Studio ultimate edition.

Dot net applications should be checked with FXCOP to check that all unmanaged code items are correctly disposed of as such problems rarely manifest during testing unless the test is of a prolonged duration.  The Resource Acquisition Is Initialization is another tool in dealing with these issues.
Posted on Monday, July 16, 2012 7:43 AM | Back to top


Comments on this post: A demo of C# Resource Acquisition Is Initialization ZZ

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © TATWORTH | Powered by: GeeksWithBlogs.net