Showing category results for .NET

Mar 19, 2009
Post comments count0
Post likes count0

New TlbImp Release on CodePlex – Full Customization of Interop Assemblies

CLR Team
CLR Team

It has been a few months since our last release of TlbImp on CodePlex. We recently released a new version of TlbImp – please visit the Codeplex page for this tool to find out more. In this release, we’ve introduced two major features: 1. Ruled-based customization of interop assemblies 2. TlbImp regression test tool Ruled-based customization of int...

.NET
Mar 4, 2009
Post comments count0
Post likes count0

Preview of Code Contract Tools Now Available

CLR Team
CLR Team

We’ve mentioned Code Contracts over on the BCL Blog a few times now, but never yet on the CLR Blog.  Basically, Code Contracts are a way to add preconditions, post-conditions, and object invariants to your code.  The goal is to help you catch developer errors earlier in the cycle.  In my Introduction to Code Contracts post, I g...

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

Resource Manager and .Net Interaction with ServiceControlManager

CLR Team
CLR Team

Kim Hamilton has a couple of excellent posts on the BCL Team blog. In the first post on Working with the ResourceManager, Kim talks about the basics of resource generation, constructing a ResourceManager and how resource fallback works. The post also covers debugging resource loading failures using Fusion logs, Reflector and Resview.  In the...

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

CLR Inside Out – Isolated Storage in Silverlight 2

CLR Team
CLR Team

  The March installment of the “CLR Inside Out” column in MSDN magazine is now available on line.  This month we have an article from Justin Van Patten on Isolated Storage in Silverligth 2. You can find a list of all “CLR Inside Out” articles here.  As always, please let us know if you have ...

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

CLR Inside Out – Handling Corrupted State Exceptions

CLR Team
CLR Team

  As Andrew pointed out in his recent post, the February installment of the “CLR Inside Out” column in MSDN magazine is now available on line.  This month we have an article from Andrew Pardoe on Handling Corrupted State Exceptions.You can find a list of all “CLR Inside Out” articles here.  As always, ...

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

Why catch(Exception)/empty catch is bad

CLR Team
CLR Team

  You’ve seen the advice before—it’s not a good programming practice to catch System.Exception. Because managed exceptions are hierarchical, catching the top of the hierarchy—e.g., catch(Exception)—is an easy way to make sure that you catch all exceptions.  But do you really want to catch all exceptions?...

.NET
Feb 5, 2009
Post comments count0
Post likes count0

Catch, Rethrow and Filters – Why you should care?

CLR Team
CLR Team

 A very common pattern in the usage of managed exception handling is that of catching an exception, inspecting it's type and rethrowing it once you realize it was not the exception you wanted to handle. Below is such an example (and should be avoided in preference to another approach described further below in the writeup) that uses CustomBase...

.NET
Jan 29, 2009
Post comments count0
Post likes count0

Understanding the Binder – Part 1

CLR Team
CLR Team

 This is an introductory post on the internals of CLR Binder.     What does the Binder do? CLR's Binder is a piece of code that, when given an assembly name, determines where the assembly is and binds to it. So how does the Binder locate assemblies? Let's assume that you are loading an assembly (let’s call it...

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

CLR Inside Out

CLR Team
CLR Team

The CLR team has a column in the MSDN magazine called 'CLR Inside Out' where we go in-depth into various aspects of the CLR. The magazine is published monthly, and you can find the list of 'CLR Inside Out' articles over here. If you have topics you'd like to see covered in the article, please let us know! This month, we have an article from Je...

.NET
Jan 2, 2009
Post comments count0
Post likes count0

Welcome to the CLR Team Blog!

CLR Team
CLR Team

 Hello from all of us in the Common Language Runtime (CLR) team. This year, we decided to start a blog to share and to hear from you. From the sharing perspective, we have quite a lot of things to cover - everything from best practices, tips and tricks, what we are working on and all the new features, conferences that we are attending/presenti...

.NET