Welcome to MSDN Blogs Sign in | Join | Help

June 2005 - Posts

Nullable Performance [Kit George, David Gutierrez]

There’s been a number of questions about Nullable performance: is doing a HasValue check performant? Here's some code which we think better mimics what your old code (scenario 1 and 2) would have looked like, vs. what we suggest you do now. Assuming in
Posted by BCLTeam | 2 Comments

Using GZipStream for Compression in .NET [Brian Grunkemeyer]

One of the cool new features in Whidbey is a GZipStream class, which supports GNU's zip utility (gzip). For anyone with a Unix background, you've had to come across .tar.gz or .tgz files as you deal with the tedium that accompany downloading new source
Posted by BCLTeam | 8 Comments
Filed under: ,

Constrained Execution Regions and other errata [Brian Grunkemeyer]

A customer recently asked a good question about some of our new reliability features in Whidbey: There are calls to Thread.BeginCriticalRegion() inside the Hashtable class. Can you clarify why they are used and how this is different from RuntimeHelpers.PrepareConstrainedRegions()
Posted by BCLTeam | 15 Comments

ResourceReader.GetResourceData and ResourceTypeCodes [Mike Rousos]

Intro ResourceReader is a useful type for quickly enumerating through resources in a resources file, but it has trouble if it cannot deserialize one of the resources. This limitation is compensated for, in v2.0 of the framework, with the GetResourceData
Posted by BCLTeam | 2 Comments
Filed under:

Official Guidance: New Recommendations for Strings in .NET 2.0 [Dave Fetterman]

The BCL Team has here published new official guidance for using Strings in .NET 2.0. It is highly recommended that .NET developers use these new best practices and new Framework types when developing on the second major version of the Framework. The full
Posted by BCLTeam | 14 Comments
 
Page view tracker