Blog - Title

  • BCL Team Blog

    Overriding part registration conventions with the MEF attributes [Nick]

    • 0 Comments
    This post discusses features in the preview version of MEF , and some details may change between now and the full release. One of the big advances made in the new MEF preview is a convention-driven programming model aimed at eliminating repetitive...
  • BCL Team Blog

    Getting started with convention-based part registration in MEF 2 [Nick]

    • 4 Comments

    This post discusses features in the preview version of MEF, and some details may change between now and the full release.

    ...
  • BCL Team Blog

    What’s new in MEF 2 Preview 4? [Alok, Nick]

    • 1 Comments

    The MEF team has been quietly at work for some time getting the finishing touches on another developer preview. You can download the new source and .NET 4.0-compatible binaries from the Codeplex site.

    ...
  • BCL Team Blog

    Porting existing .NET code to Metro style apps [Wes]

    • 5 Comments

    Useful resources for porting existing .NET code to Metro style apps.

    ...
  • BCL Team Blog

    Memory Mapped File Quirks [Greg]

    • 2 Comments

    Memory mapped files are a powerful technique for random file access and inter-process communication, but like all powerful techniques they come with some quirks. One subtle nuance is that the size of a memory mapped file is always expanded up to the next virtual memory page boundary. This means that developers must track the difference between the useful memory contents containing data, and junk bytes that fill the space up to the next virtual memory page boundary.

    ...
  • BCL Team Blog

    Aligning Numbers on the Decimal Separator [Ron Petrusha]

    • 3 Comments

    The .NET Framework composite formatting feature supports options such as right or left alignment. However, some advanced alignment options are not supported. For instance, composite formatting does not support aligning numeric values in a field on their decimal points. However, this kind of alignment can be easily implemented. This blog post illustrates two alternative approaches to implementing decimal point alignment.

    ...
  • BCL Team Blog

    Unexpected effects of the RegEx SET operator [Greg]

    • 0 Comments

    Regular Expressions (RegEx) are a powerful tool for searching for text that matches specific patterns, but it is also a complex tool that requires care and attention to detail. There are many caveats to using RegEx.
    Here, I would like to briefly talk about a common caveat when using RegEx: the set operator [ ] and its effect on the contained tokens...

    ...
  • BCL Team Blog

    Parsing Non-Standard Date and Time Formats [Ron Petrusha]

    • 3 Comments

    The most commonly used methods for parsing textual data into  DateTime or DateTimeOffset values are different overloads of DateTime.Parse and DateTimeOffset.Parse. However, for many formats these methods throw a FormatException when they attempt to perform the conversion, and their corresponding TryParse overloads all return false. The .NET Framework provides two alternative method families: ParseExact and TryParseExact, that can be used to parse the string representations of date and time values. This article explores their usage.

    ...
  • BCL Team Blog

    Hardening Server Applications [Immo]

    • 12 Comments

    We are very excited to announce a planned release of a really exciting new product.

    The Base Class Libraries team, the wider CLR team and Microsoft Research worked hard on this new technology and we are very proud to be able to share the news. Read the full article for details.

    ...
  • BCL Team Blog

    Optimizing Regex Performance, Part 3 [Ron Petrusha]

    • 2 Comments

    Regular expressions in the .NET Framework support a number of grouping constructs, which allow a regular expression pattern to be grouped into one or more subexpressions. Grouping constructs are essential for creating backreferences, as well as for defining a subexpression to which a quantifier is applied.

    ...
  • BCL Team Blog

    Announcing Portable Library Tools CTP [Justin Van Patten]

    • 11 Comments
    Today we're announcing the CTP release of a new add-in for Visual Studio 2010 that makes it easy to create C# and Visual Basic libraries that run on a variety of .NET platforms without recompilation. Download the Portable Library Tools CTP today...
  • BCL Team Blog

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

    • 3 Comments
    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...
  • BCL Team Blog

    The Caveats of Time Zone Names [Greg]

    • 4 Comments
    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...
  • BCL Team Blog

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

    • 1 Comments
    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...
  • BCL Team Blog

    More on Zip in .NET [Richard Lee]

    • 11 Comments
    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...
  • BCL Team Blog

    Working with Zip Files in .NET [Richard Lee]

    • 38 Comments
    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...
  • BCL Team Blog

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

    • 5 Comments
    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...
  • BCL Team Blog

    Code Contracts Survey

    • 5 Comments
    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...
  • BCL Team Blog

    Constructors and Value Types [Ron Petrusha]

    • 7 Comments
    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...
  • BCL Team Blog

    BCL CodePlex Site Launch

    • 8 Comments
    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...
  • BCL Team Blog

    I just installed Visual Studio 2010, now how do I get Code Contracts? [Melitta Andersen]

    • 3 Comments
    This article is to show you how to go from a clean install of Visual Studio 2010 to running the Code Contract tools for the first time. Since the tools aren’t included in VS install, we thought we’d provide some extra information on where to find them...
  • BCL Team Blog

    Code Contracts at PDC 2009

    • 1 Comments
    If you’re at PDC this year and interested in Code Contracts, go watch Mike Barnett and Nikolai Tillmann talk about Code Contracts and Pex (another MSR tool). Their session is called Code Contracts and Pex: Power Charge Your Assertions and Unit Tests ...
  • BCL Team Blog

    What's New in the BCL in .NET 4 Beta 2 [Justin Van Patten]

    • 32 Comments
    Visual Studio 2010 and .NET Framework 4 Beta 2 are now available to download . .NET 4 Beta 2 contains several new BCL features and enhancements in addition to what was included in .NET 4 Beta 1 . Many of these improvements were added in large part due...
  • BCL Team Blog

    Code Contracts CLR Inside Out Article [Melitta Andersen]

    • 1 Comments
    In the August 2009 issue of MSDN Magazine , we have a CLR Inside Out article on the BCL’s experience with adding code contracts to the BCL . It includes both an overview of the feature, as well as a few best practices we came up with as we went along...
  • BCL Team Blog

    Free LiveMeeting with the CLR Team on CLR 4 [Justin Van Patten]

    • 4 Comments
    Join the CLR team for a free interactive LiveMeeting session / conference call on What's New in CLR 4 on Friday, July 17, 2009. We'll specifically be covering Garbage Collection, NGEN, and Performance. Here are the details: Date: Friday, July 17...
Page 2 of 13 (315 items) 12345»