Welcome to MSDN Blogs Sign in | Join | Help

March 2006 - Posts

IAsyncResult Implementation Compliant

There is an internal discussion around IAsyncResult implmentation, and the developer responsible for IAsyncResult posted all the invariants that a compliant implementation has to support. Posted below for your information: From: Sent: Monday, March 27,
Posted by junfeng | 5 Comments
Filed under:

Override CLR Assembly Probing Logic --- IHostAssemblyManager/IHostAssemblyStore

In .Net framework when resolve an assembly reference, CLR first checks GAC, then search the application directory in specific locations. ( http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconhowruntimelocatesassemblies.asp
Posted by junfeng | 3 Comments
Filed under: ,

Type forwarding

Suppose I have developed a wonderful library. It contains some base types and extended functionalities on top of the base types. I publish the library and people are happily using it. Life is wonderful. Now I am up to develop the v2 version of the library.
Posted by junfeng | 4 Comments
Filed under:

SXS Activation Context --- Activate and Deactivate

In Windows XP the Side-by-Side technology is officially introduced: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sbscs/setup/isolated_applications_and_side_by_side_assemblies_start_page.asp In a nutshell, applications/components write
Posted by junfeng | 7 Comments
Filed under: ,

Determine the processorArchitecture of the running process from managed code

I discussed Figure out the bitness of a process and the ProcessorArchicture of the system back in July 2005. If you just want to determine the processorArchitecture of the running process from managed code, there is an easier way in .Net framework 2.0.
Posted by junfeng | 3 Comments
Filed under:

disableCachingBindingFailures

In .Net framework 2.0, we will cache assembly loading failures. (See http://blogs.msdn.com/junfeng/archive/2004/07/22/190813.aspx for more detail.) Not everyone like the decision. To opt out this, add the following snippet to your app.config file. <configuration>
Posted by junfeng | 3 Comments
Filed under: ,

Generics, NGEN, and Domain Neutral

You know Generics, you understand NGEN, and you have seen Domain Neutral. But have you seen Generics, NGENed, and loaded as domain neutral? Combining Generics, Precompilation and Sharing Between SoftwareBased Processes By Andrew Kennedy, Don Syme Microsoft
Posted by junfeng | 1 Comments
Filed under:

Assembly Delay Sign and Assembly Installation

Occasionally I receive questions about assembly delay sign and assembly installation (to GAC). In this post I’ll summary what I have seen. 1. I have this wonderful assembly foo. I made a nice MSI package to install this assembly to GAC, but it keeps failing
Posted by junfeng | 3 Comments
Filed under: ,

Assembly Signing Frequently Asked Questions

I come across this wonderful document and I can't help post it here. Now I don't work in .Net framework security team, so questions will have to go to Shawn's blog ( http://blogs.msdn.com/shawnfa ). Assembly Signing Frequently Asked Questions 1. Can Assemblies
Posted by junfeng | 5 Comments
Filed under:
 
Page view tracker