.NET Blog

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

CLR Inside Out – Profiling the .NET Garbage-Collected Heap
CLR Inside Out – Profiling the .NET Garbage-Collected Heap
  The new installment of the “CLR Inside Out” column in MSDN Magazine is now available on line.  This month we have an article from Subramanian Ramaswamy and Vance Morrison on Profiling the .NET Garbage-Collected Heap.  This article provides instructions on using the CLR Profiler for memory investigations of the .
CLR Inside Out – What’s New in the .NET Framework 4 Base Class Library
CLR Inside Out – What’s New in the .NET Framework 4 Base Class Library
  Sorry for the delay in the post, but in case you haven’t seen it yet, the new installment of the “CLR Inside Out” column in MSDN magazine is available on line.  This month we have an article from Justin Van Patten on What’s New in the .NET Framework 4 Base Class Library, covering mainly the new features tha
IL Stub Diagnostic Tool
IL Stub Diagnostic Tool
  The IL Stub Diagnostic Tool enables real-time inspection of the contents of IL stubs. Developers now have a powerful tool to troubleshoot issues in interop marshalling, Introduction Jesse posted a great blog talking about the concept, history, and improvements of Intermediate Language (IL) stubs for CLR v4. He mentions The remainder of
IL Stub Diagnostic Tool
IL Stub Diagnostic Tool
  The IL Stub Diagnostic Tool enables real-time inspection of the contents of IL stubs. Developers now have a powerful tool to troubleshoot issues in interop marshalling, Introduction Jesse posted a great blog talking about the concept, history, and improvements of Intermediate Language (IL) stubs for CLR v4. He mentions The remainder of
The good and the bad of exception filters
The good and the bad of exception filters
Every so often we get asked questions about the CLR’s support for exception filters. Why do some languages support them and others do not? Is it a good idea to add them to my new language? When should I use a filter vs. catch/rethrow? Etc. I’ll try to answer some of these questions for you here, and while I won’t go into all
The good and the bad of exception filters
The good and the bad of exception filters
Every so often we get asked questions about the CLR’s support for exception filters. Why do some languages support them and others do not? Is it a good idea to add them to my new language? When should I use a filter vs. catch/rethrow? Etc. I’ll try to answer some of these questions for you here, and while I won’t go into all
Improvements to Interop Marshaling in V4: IL Stubs Everywhere
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 usual
Improvements to Interop Marshaling in V4: IL Stubs Everywhere
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 usual
Upgrading to Windows 7 with .NET 4 Beta 1
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 V
Upgrading to Windows 7 with .NET 4 Beta 1
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 V