Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » managed   (RSS)

New Performance Counter Features [Ryan Byington]

Introduction Before going into detail of the changes in v2.0 I think it is important to start off with explaining the existing problems with the performance counter infrastructure. The first problem is the memory reserved for performance counters is fixed,
Posted by BCLTeam | 3 Comments

Cross Version Serialization Broken between V1.1 and V2.0 [Ryan Byington]

In V2.0 we sometimes needed to add fields to types that existed in V1.1. If this type just has the Serializable attribute applied to it this will break serialization compatibility with V1.1. Currently when 1.1 tries to deserialize an instance with this
Posted by BCLTeam | 4 Comments
Filed under:

How to get .NET Framework Design Guidelines Updates [Krzysztof Cwalina]

The .NET Framework Design Guidelines on MSDN are getting updated but not that frequently. Many people have asked us to publish updates more often. I have been posting such updates here for some time now. Yesterday, I added new guidelines for throwing
Posted by BCLTeam | 4 Comments
Filed under:

Why System.Collections.ObjectModel namespace? [Krzysztof Cwalina]

Many people ask about why Collection, ReadOnlyCollection, and KeyedCollection were moved to System.Collections.ObjectModel namespace. You can read the reasoning here .
Posted by BCLTeam | 2 Comments

PowerCollections MSDN TV Broadcast [Krzysztof Cwalina]

Have you heard about PowerCollections ? It’s an extension library to the new generic collection classes in the System.Collections.Generic namespace. It contains many advanced collections and a ton of algorithms. You can also watch an MSDN TV broadcast
Posted by BCLTeam | 2 Comments

Play the CLR acronym game! [Brad Abrams]

One of my pet peeves is seeing people use obscure managed code related terms incorrectly. So, I thought I’d make a little game out of it… Can you match the term to their usage correct? Terms: CLR CLS CTS CLI CER Fill in the blank: The __ is a contract
Posted by BCLTeam | 9 Comments
Filed under:

Avoiding Boxing in Classes Implementing Generic Interfaces through Reflection [Dave Fetterman]

Krzysztof Cwalina showed me this cool trick to avoid boxing value types when working with generics and interfaces. This may be a bit dense but the trick is rarely seen and illustrative. Note before proceeding: This technique is only available in VS.NET

Potential additions to the Math class [Katy King]

In preparation for the next version of the product, we've collected suggestions for additions to the Math class and related classes. To give you an idea of the kinds of things people ask us for, here are a list of some of the requests we've received.
Posted by BCLTeam | 34 Comments
Filed under: ,

Writing a Useful Windows Service in .NET in Five Minutes [Dave Fetterman]

When opening up a new project in Visual Studio, one finds many, many options for deploying your new killer app: Windows Applications, Console Applications, and Web Services are all popular choices. Even when creating a simple daemon-type process, however,
Posted by BCLTeam | 13 Comments

How to Work Around Problems Serializing DateTime in XML [Anthony Moore]

I wrote a while ago about problems with the way DateTime worked with features like DataSet, XML Serialization (WebServices) and XmlConvert. Basically, DateTime is always treated as a local time by these XML-based systems, which means that you get incorrect
Posted by BCLTeam | 7 Comments
Filed under: , , ,

Dead C Hacks: Reallocating or Changing an object's type in place in .NET? [Brian Grunkemeyer]

I was recently asked if there was a way to reallocate an object on top of another one, or to change the type of an object at runtime. This must have been a somewhat common practice in native C or C++ programs, perhaps something that C++'s placement new
Posted by BCLTeam | 3 Comments
Filed under: , ,

.NET Arrays, IList<T>, Generic Algorithms, and what about STL? [Brian Grunkemeyer]

When we were designing our generic collections classes, one of the things that bothered me was how to write a generic algorithm that would work on both arrays and collections. To drive generic programming, of course we must make arrays and generic collections

New BCL features in Beta1

[Ahmed AbouTaleb] Here is a list of all the new BCL features that shipped in Visual studio 2005 Beta1 Regular Expressions We added the ability to use character class subtraction to regular expressions. The specification is publicly available here . Compression

DateTime FAQ Entries

I have recently created some new DateTime FAQ entries to address some questions people have about using DateTime on blogs. Our web site is in transition, so I'm posting some of these into the blog. However, they will eventually be rolled into the DateTime
Posted by BCLTeam | 24 Comments
Filed under: , ,

A query about providing more managed solutions [Kit George]

In a post to the BCL Website question page, nfactorial inquired if there is a timeline by which the BCL (and the .NET Framework in general) intends to have full support for unmanaged APIs? Nfactorial, we plan ot continue to expand the framework to have
Posted by BCLTeam | 0 Comments
Filed under: , ,
 
Page view tracker