Showing results for .NET - .NET Blog

Jul 15, 2009
Post comments count0
Post likes count0

CLR 4: Making the AssemblyResolve event more useful

CLR Team
CLR Team

 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 quit...

.NET
Jul 14, 2009
Post comments count0
Post likes count0

Take the .Net 4 Beta1 survey

CLR Team
CLR Team

 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.

.NET
Jul 14, 2009
Post comments count0
Post likes count0

Take the .Net 4 Beta1 survey

CLR Team
CLR Team

 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.

.NET
Jul 14, 2009
Post comments count0
Post likes count0

Meet the CLR Team, learn about CLR 4

CLR Team
CLR Team

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. &nb...

.NET
Jul 1, 2009
Post comments count0
Post likes count0

CLR Inside Out – Building Tuple

CLR Team
CLR Team

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.  As ...

.NET
Jun 24, 2009
Post comments count0
Post likes count0

Enabling CAS Policy Compatibility Mode for a Project

CLR Team
CLR Team

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 Framework. In o...

.NET
Jun 20, 2009
Post comments count0
Post likes count0

Getting more information than the exception class provides

CLR Team
CLR Team

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.IOExcept...

.NET
Jun 19, 2009
Post comments count0
Post likes count0

Tail Call Improvements in .Net Framework 4

CLR Team
CLR Team

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.

.NET
Jun 11, 2009
Post comments count0
Post likes count0

What’s New for .Net Framework Security

CLR Team
CLR Team

 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 it...

.NET
Jun 10, 2009
Post comments count0
Post likes count0

New Security Model: Moving to a Better Sandbox

CLR Team
CLR Team

 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 des...

.NET