couch mode print story

Visual Studio 2010 & .Net 4.0 Finally launched!

Microsoft has finally released Visual Studio 2010 and the .Net Framework 4.0, so it's time to take a serious look at what improvements Microsoft has given us .Net programmers. Microsoft has finally brought .Net Programming into the current century and are now offering real world items that can & will change the way developers look at programming.

The first, and one of the biggest offering is Parallel Programming , Microsoft is finally giving .Net developers more efficient programming capabilities by allowing us the ability to take advantage of today's multiple core processors.

Parallel Programming

Significantly improve the core pillars of the developer experience.

Support for the latest platforms spanning the client, web, server, services and devices.

Targeted and simplified developer experiences for different application types.

Parallel Programming is relevant to all of these features. In the .NET Framework 4.0, you'll find the Task Parallel Library in mscorlib.dll. You'll find PLINQ in System.Core.dll right alongside LINQ-to-Objects. And you'll find new coordination and synchronization data types spread across various DLLs, enabling not only your applications, but the .NET Framework itself. They also have given us the Parallel Computing Developer Center for all you need to know about.

Garbage Collection
The .NET Framework 4 provides background garbage collection. This replaces concurrent garbage collection in previous versions and provides better performance. For more information The Fundamentals of the new Garbage Collection can be found here.

Dynamic Language Runtime
The Dynamic Language Runtime (DLR) is a new runtime environment that adds a set of services for dynamic languages to the CLR. The DLR makes it easier to develop dynamic languages to run on the .NET Framework and to add dynamic features to statically typed languages. To support the DLR, the new System.Dynamic Namespace has been added to the .NET Framework.

In addition, several new classes that support the .NET Framework infrastructure are added to the System.Runtime.CompilerServices namespace. A better listing and for more information, see Dynamic Language Runtime Overview.

Optional Arguments and Named Parameters
This is something C# has never had support for, and in many cases personally it would have been nice to have as an option. Related to this is support for named parameters in function calls. For us it makes easier to use methods which have long argument list. It also introduces some new dangers which may lead us to messy and hard to understand code. This can lead to code that is very hard to use so use them in moderation.

Managed Extensibility Framework
The Managed Extensibility Framework (MEF) is a new library in the .NET Framework 4 that helps you build extensible and composable applications. MEF enables you to specify points where an application can be extended, to expose services to offer to other extensible applications and to create parts for consumption by extensible applications. It also enables easy discover-ability of available parts based on meta-data, without the need to load the assemblies for the parts.

64-Bit Operating Systems and Processes
You can now identify 64bit operating systems and processes with the Environment.Is64BitOperatingSystemEnvironment.Is64BitProcess properties. This is a huge addition to the Framework given that the number of 64bit operating systems are trying to outnumber the 32bit. You can specify a 32-bit or 64-bit view of the registry with the Microsoft.Win32.RegistryView enumeration when you open base keys.

In-Process Side-by-Side Execution
This allows an application to load and start multiple versions of the NET Framework in the same process. For example, you can run applications that load add-ins (or components) that are based on the NET Framework 2.0 SP1 and add-ins that are based on the .NET Framework 4 in the same process. Older components continue to use the older .NET Framework version, and new components use the new .NET Framework version. A definite win for .Net Developers.
[by Richard McCutchen (PsychoCoder) ]
 



0 comments:

Post a Comment