.NET Blog

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

CLR 4: Making the AssemblyResolve event more useful
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
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
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
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
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” articles here. ...
Enabling CAS Policy Compatibility Mode for a Project
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 ...
Getting more information than the exception class provides
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....
Tail Call Improvements in .Net Framework 4
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...
What’s New for .Net Framework Security
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. ...
What’s New for .Net Framework Security
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. ...