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… Read more

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,… Read more

CLR Inside Out – Building Tuple

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”… Read more

Enabling CAS Policy Compatibility Mode for a Project

If you’re migrating a VS project over to VS 2010 Beta1 and you are calling code that is passing Evidence objects to the runtime expecting security policy resolution, or if you’re using a permission Deny, you may run into the following exception: NotSupportedException: This method uses CAS policy, which has been obsoleted by the .NET… Read more

Getting more information than the exception class provides

We recently had a question about how to get more information than an exception’s type provides. The developer was trying to copy a file and didn’t know why the copy was failing. File copies can fail for many reasons, almost all of them what Eric Lippert calls “exogenous conditions”. The developer was catching System.IOException and… Read more

Tail Call Improvements in .Net Framework 4

Grant Richins has a post on the CLR Code Generation team blog that covers the work done to improve the x64 JIT to honor the “tail.” instruction prefix, thereby making functional languages like F# more viable. You can find the full post here…. Read more

What’s New for .Net Framework Security

  Shawn Farkas, CLR security developer, has started a cool series of posts on what’s new in .NET Framework 4 security. If you’re doing any work with or have scenarios involving partially trusted code, you’ll want to take a look. Topics include sandboxing, Code Access Security (CAS) Policy, and a nifty Channel 9 video. Check… Read more

New Security Model: Moving to a Better Sandbox

  For .Net Framework 4, we decided to remove the dependency on caspol and the policy levels and make things simpler. With this change, the default grant-set for assemblies is now FullTrust unless the host (such as InternetExplorer) decides to load them in a sanbox. We also made CodeAccessPermission.Deny obsolete. This MSDN article describes the changes we… Read more

In-Process Side by Side Part 2 – Common in-proc SxS scenarios

Update: The information in this blog post applies to pre beta-1 behavior and is not applicable to beta 2 and RTM. We will have more posts and documentation on this subject as we get closer to RTM.   This section covers the most common in-process side by side scenarios. The scenarios cover which CLR is used… Read more

In-Process Side by Side (Part1)

One of the new features in CLR 4 is In-Process Side-by-side (Inproc SxS) – a feature that lets you use multiple versions of .NET in the same process. For applications that use add-ins (particularly COM add-ins), in-proc SxS lets us provide a level of compatibility never before possible. If you write applications that use an… Read more