Debugging Multiple CLRs (InProc SxS)

Introduction In the previous post, we looked at how multiple CLRs can be loaded in the same process (CLR InProc SxS). In this post, we’ll build on the example from that post to look at how we can do debugging of processes that use multiple CLRs. We’ll focus on CLR4 with CLR2, because CLR 1.x…

0

Loading multiple CLR Runtimes (InProc SxS) – Sample Code

Introduction Starting with version 4, the CLR supports In-Process Side-by-Side (InProc SxS). The topic is extensively treated. In particular, this blog post does a very good job in explaining why CLR InProc Sxs is useful, and which scenarios it addresses. However I could not find any sample code that causes multiple CLRs to be loaded…

4

Troubleshooting a RemotingException by dumping out Remoting Channel Configuration

This post is devoted to .NET Remoting, one of the technologies supported by our Distributed Services support team (though I should add that the volume of requests is not, and never has been, very high). WCF is being more and more widely adopted as the communication infrastructure of .NET applications, but .NET Remoting still has…

1

.NET Generics and Code Bloat (or its lack thereof)

Introduction I recently got questions from a couple of customers on the implications of using generic types (generics) in .NET on code bloat (also known as code explosion). This is a legitimate concern and let me explain why. Among the most popular programming languages, C++ was one of the first to provide generic programming through…

2

A CLR COM Interop Issue

Hello again. Today’s case is pretty interesting, in my opinion, because it merges a number of different areas. We’ll start from the analysis of a memory corruption to go to Runtime Callable Wrappers in the .NET CLR to finish with COM objects lifetime considerations. If all that sounds interesting, or at least not too boring…

4

Troubleshooting a DCOM issue: Case Study

Hi all,this is my first post after a LONG LONG time since I created the (so far empty) blog. I guess it is not by coincidence that last night it snowed in Milan . Let’s get started with the case study at hand. In the Distributed Services team in Microsoft Developer Support we support technologies…

1