Inside and Out…

An attempt to understand technology better…

Archive for the ‘Articles’ Category

Article: Customizing AppDomain Creation

Posted by Gaurav Khanna on February 26, 2007

Did you have a scenario where you wished you could customize the creation of AppDomains? Or, you could control how many AppDomains any code that runs in your application context (e.g. if you are writing a plugin load framework) could create? Or, how about reusing AppDomains for various assemblies?

I have just finished an article on how any of the above scenarios can be accomplished using the System.AppDomainManager type, introduced in .NET Framework 2.0, by intercept AppDomain creation requests.

You can read the article at http://www.wintoolzone.com/articles/Customizing_AppDomain_Creation.aspx and download associated source code from http://www.wintoolzone.com/downloads/Customizing_AppDomain_Creation_src.zip

Advertisements

Posted in .NET Framework, Articles, CLR, Development, Downloads | Leave a Comment »

How the SSCLI [a.k.a. Rotor] managed "new" works

Posted by Gaurav Khanna on February 12, 2007

One of the best ways to understand how the CLR works internally is to have a look at the SSCLI [a.k.a Rotor] source code.

In How the SSCLI [a.k.a. Rotor] managed “new” works, I have used Rotor source code to discuss what happens behind the scenes when you use the managed new operator to instantiate a managed type, discussing implications of object size, how requests from multiple threads are handled, the different validations that are done, when out-of-memory exception is thrown, etc. If you are a managed code developer, you may learn a thing or two that can help you write better code besides understanding how the managed allocation works internally.

Posted in Articles, CLR, Development, Rotor | Leave a Comment »

Working with properties in Managed C++?

Posted by Gaurav Khanna on July 6, 2006

Then read this article by someone who knows Managed C++ very well. His blog is here.

Posted in .NET Framework, Articles, Managed C++, Tips | Leave a Comment »

[Article] Service Orientation tenets and Home Delivery of Pizza

Posted by Gaurav Khanna on December 18, 2005

Service orientation is a concept and a way of thinking on how to design distributed systems. Technologies like Windows Communication Foundation implement these concepts and make them real. In order to understand the power of such technologies, its imperative we understand SO.

I have attempted to help understand this abstract concept in an article titled Service Orientation and Home Delivery of Pizza that you can read here.

Posted in Articles, Development | Leave a Comment »