.NET Blog

Free. Cross-platform. Open source. A developer platform for building all your apps.

Improvements to Interop Marshaling in V4: IL Stubs Everywhere

  When the CLR needs to transition between managed and native code – usually because of P\Invoke or COM interop – we need to generate marshaling stubs (little chunks of code) to handle that specific call and transform the data from managed to native format and back again. . These stubs are little pieces of code that are ...

Upgrading to Windows 7 with .NET 4 Beta 1

If you’re the kind of early adopter who installs .NET 4 Beta 1 and also wants the latest and greatest operating system (Windows 7), please check out Scott Hanselman’s recent blog post http://www.hanselman.com/blog/VistaUsersUninstallVisualStudio2010Beta1BeforeUpgradingToWindows7.aspx  While .NET 4 Beta 1 works well on both ...

CLR Inside Out – Code Contracts

(image)   The new installment of the “CLR Inside Out” column in MSDN magazine is available on line.  This month we have an article from Melitta Andersen on Code Contracts.  It provides an overview of the feature, and includes some recommendations the Base Class Libraries team figured out as they added Code ...

CLR 4: Making the AssemblyResolve event more useful

 In the introductory post on CLR Binder (‘Understanding the Binder – Part 1’), we listed the set of steps that the CLR Binder follows, in order to locate an assembly and bind to it. On reading this, an obvious question comes to mind. What happens when all of these steps fail to locate the assembly? Does the binder simply...

Take the .Net 4 Beta1 survey

 Here is a survey to understand you think about .Net 4 Beta1, and to get a sense of the level of satisfaction, particularly while trying to upgrade existing managed applications to CLR 4, or while creating new CLR 4 applications. This survey should take you about 20 minutes to complete. Here is the link to the survey...

Take the .Net 4 Beta1 survey

 Here is a survey to understand you think about .Net 4 Beta1, and to get a sense of the level of satisfaction, particularly while trying to upgrade existing managed applications to CLR 4, or while creating new CLR 4 applications. This survey should take you about 20 minutes to complete. Here is the link to the survey...

Meet the CLR Team, learn about CLR 4

Here is your chance to get the scoop straight from the proverbial horse’s mouth. Join the CLR team for an interactive Live Meeting session on Friday, July 17th 2009, and find out what’s new in CLR 4. Apart from an overview of what’s coming up in CLR 4. we will specifically be covering Garbage Collection, NGen and Performance...

CLR Inside Out – Building Tuple

(image) The new installment of the “CLR Inside Out” column in MSDN magazine is now available on line.  This month we have an article from Matt Ellis on Building Tuple.  It provides one example of how a new type makes it into the base class libraries. You can find a list of all “CLR Inside Out” articles ...