Patrick Smacchia [MVP C#]

Sponsors

The Lounge

Advertisement

Interesting findings in the diff between .NET Fx v4 Beta1 and Beta2

Normal 0 21 false false false FR X-NONE X-NONE

I compared with NDepend .NET Fx v4.0 Beta1 with the new.NET Fx v4.0 Beta2 just released. I enumerated below some random interesting finds. Don’t hesitate to ping me back if I’ve missed some cool public API things.

 

To do the comparison yourself, you need to have kept a copy of beta1 assemblies as I explained in this post: Analyze and explore the evolution of .NET Framework by yourself

 

A lot of work has been done since the Beta1, there are 92K methods modified or added!

 

 

I take a chance to show a preview screenshot of a great upcoming NDepend feature concerning the comparison mode: the possibility to disassemble (with Reflector) and compare implementations of a modified method. With this feature one can fine-grain control evolution of a codebase from assemblies only.

 

 

 

Some new core types whose names are pretty explicit:

 


Some new core public methods that seem useful to me.

 


Some new WPF types. None of them contains IL instructions, meaning that they are DataObjects (declared with auto properties), enumerations, delegates or interfaces:

 

A new System.Numerics assembly has been created. This assembly now contains the class BigInteger (formerly defined in System). This assembly also contains 3 new interesting classes: Complex, DoubleULong and NumericsHelpers.

 

The assembly System.Caching seems to have been renamed System.Runtime.Caching.

 

A new assembly System.Device that seems to only expose so far classes to modelize a Geo Localization (GPS) device API  in the namespace System.Device.Location. It is pretty surprising actually, it looks like the .NET Fx is now modelizing some domains! It is like if future versions of .NET Fx will come with a System.Financial assembly with Account, Bid and Stock classes?!

 

System.Activities.* assemblies have been merged to give birth to a new System.Activities.Presentation assembly that seems to contain all previous assemblies code, now organized through namespaces.

 


Posted Wed, Oct 21 2009 4:31 PM by Patrick Smacchia

[Advertisement]

Comments

Romain Verdier wrote re: Interesting findings in the diff between .NET Fx v4 Beta1 and Beta2
on Wed, Oct 21 2009 11:39 AM

Generic TryParse on Enum! Is it constrained?

Nice overview, thanks.

progg.ru wrote Интересные результаты сравнения сборок .NET 4 Beta1 и Beta2
on Wed, Oct 21 2009 11:49 AM

Thank you for submitting this cool story - Trackback from progg.ru

Patrick Smacchia wrote re: Interesting findings in the diff between .NET Fx v4 Beta1 and Beta2
on Wed, Oct 21 2009 12:38 PM

Romain, yes all 3 generics methods are constrained

where TEnum: struct

uberVU - social comments wrote Social comments and analytics for this post
on Wed, Oct 21 2009 1:49 PM

This post was mentioned on Twitter by Codebetter: New Blog Post Interesting findings in the diff between .NET Fx v4 Beta1 and Beta2: .. http://bit.ly/1kUZ4R

Craig Stuntz wrote re: Interesting findings in the diff between .NET Fx v4 Beta1 and Beta2
on Wed, Oct 21 2009 3:25 PM

This is a really great post. I hadn't considered using NDepend on framework code.

PimpThisBlog.com wrote Interesting findings in the diff between .NET Fx v4 Beta1 and Beta2
on Wed, Oct 21 2009 4:00 PM

Thank you for submitting this cool story - Trackback from PimpThisBlog.com

DotNetBurner - .net Framework wrote Interesting findings in the diff between .NET Fx v4 Beta1 and Beta2
on Wed, Oct 21 2009 7:21 PM

DotNetBurner - burning hot .net content

Jason Haley wrote Interesting Finds: October 22, 2009
on Thu, Oct 22 2009 8:31 AM

Interesting Finds: October 22, 2009

Sasha Goldshtein wrote re: Interesting findings in the diff between .NET Fx v4 Beta1 and Beta2
on Thu, Oct 22 2009 5:06 PM

The new System.Device namespace that deals with location services is a wrapper of the equivalent Windows 7 functionality. It's no surprise that it's becoming part of the .NET framework because it is already a part of the underlying OS platform...

DotNetShoutout wrote Interesting findings in the diff between .NET Fx v4 Beta1 and Beta2 - Patrick Smacchia - CodeBetter.Com
on Mon, Oct 26 2009 8:41 AM

Thank you for submitting this cool story - Trackback from DotNetShoutout

virtew wrote Revue du web .NET du 26 octobre
on Mon, Oct 26 2009 9:13 PM

Revue du web .NET du 26 octobre

Joe White wrote re: Interesting findings in the diff between .NET Fx v4 Beta1 and Beta2
on Sun, Nov 15 2009 12:10 AM

Your image for "Some new WPF types" is broken.

Add a Comment

(required)  
(optional)
(required)  
Remember Me?