Time-travel with .NET or DateTime, DateTimeOffset and the lost DST hour [Greg]

Every year again comes the DST change… And every year again do we need to work with customers on helping them understand some legacy design decisions, and how to work around these ghosts of the past. Recently, around the end of October and the start of November the daylight saving time (DST) period finished in…

3

The Caveats of Time Zone Names [Greg]

Hi Everyone! My name is Greg, I joined the NetFx Base Class Libraries (BCL) team a few months ago, and I am really excited about my work on some very cool new framework features. Before joining the BCL team I was working in academic research in complex systems, network theory and artificial life at Monash…

4

Optimizing Regular Expression Performance, Part II: Taking Charge of Backtracking [Ron Petrusha]

One of the most powerful features of regular expressions in the .NET Framework — and of Nondeterministic Finite Automaton (NFA) regular expression engines generally — is their ability to execute in a non-linear manner. That is, instead of advancing one character at a time, they can return to a previous saved state in order to…

1

More on Zip in .NET [Richard Lee]

First, I’d like to thank everybody for their comments on the Zip APIs. It’s great to know that I’m working on something that a lot of people will hopefully find useful. I’ll try to address the themes that came up in the comments. Streams A lot of the comments mentioned support for streams. The API…

11

Working with Zip Files in .NET [Richard Lee]

Before getting started, I’ll introduce myself. My name is Richard Lee, and I’m a developer intern on the BCL for the summer. I’ve only been here for a few weeks, but it’s been great working here. The people, the environment, and my project are all great. Speaking of which, my project is to add general…

38

Optimizing Regular Expression Performance, Part I: Working with the Regex Class and Regex Objects [Ron Petrusha]

The .NET Framework’s regular expression implementation is a traditional Nondeterministic Finite Automaton (NFA) engine. Perhaps the most significant feature of NFA engines is that they place the responsibility for crafting efficient, high-performance regular expressions on the developer. (For more information about the .NET Framework’s implementation of an NFA engine, see Details of Regular Expression Behavior…

5

Code Contracts Survey

The BCL Team has put together a survey about Code Contracts.  We’re trying to get data about how people are using the feature to help us figure out where to invest in further development.  Even if you haven’t used Code Contracts yet, your answers would be quite helpful.  We have a few questions to help…

5

Constructors and Value Types [Ron Petrusha]

A number of recent customer comments have made it clear that some confusion surrounds the use of constructors with value types. Most common are the complaints that we’ve failed to document a constructor for a particular value type. In one case, though, a customer asked that we remove the documentation on constructors for value types,…

7

BCL CodePlex Site Launch

Today the BCL Team is launching a CodePlex site to host samples, previews, and prototypes.  You can find it at http://bcl.codeplex.com. This is a site for the BCL Team to get features to customers to try out without requiring a Beta or CTP of the .NET Framework.  Our goal is to put generally useful functionality…

8