Welcome to MSDN Blogs Sign in | Join | Help

April 2004 - Posts

Image File Execution Options

There is well-known (or not so well-known, depending on what you do) feature in NT family system, called “Image File Execution Options”. It is really in the registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File
Posted by junfeng | 25 Comments
Filed under:

AssemblyResolve Event

CLR uses documented heuristics to probe assemblies. If assembly can't be found through the standard heuristics, CLR will raise an AssemblyResolve event . You can subscribe AssemblyResolve event to provide the assembly in the case assembly can't be found
Posted by junfeng | 11 Comments
Filed under:

Deployment in windows

Mike wrote a blog about deployment in windows. ( Versioning - source of all good or evil? ). There are some interesting comments. Deployment in windows is a huge problem. The vision of fusion, is to make deployment in windows easy, safe, secure and confident.
Posted by junfeng | 2 Comments
Filed under:

Slow appdomain shutdown

If you have a lot assemblies loaded in the appdomain, you may experience slow appdomain shutdown, coupled with CPU spike. This thread explained why. http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.dotnet.framework.performance&mid=f326e1d1-00b7-4e0a-90ff-09ae7122947
Posted by junfeng | 0 Comments
Filed under:

So which CLR will my app use?

We have shipped several versions of .Net framework: 1.0, 1.1, and 2.0 is on the horizon. All of them are side by side, meaning, someone may be using 1.0 CLR, at the same time, someone else is using 1.1 CLR. In the same process, there can be only one CLR.
Posted by junfeng | 0 Comments
Filed under:

Java class data sharing

Java 1.5 introduces class data sharing: http://java.sun.com/j2se/1.5.0/docs/guide/vm/class-data-sharing.html This looks a lot like .Net's ngen concept, except it only works on core classes(for .net's equivalence, mscorlib.dll). Maybe their next step is
Posted by junfeng | 5 Comments
Filed under:

mscorlib.resources couldn't be found! Large parts of the BCL won't work!

Brian Grunkemeyer from BCL team answers one question about mscorlib.resources here: http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.dotnet.framework.clr&mid=586edffa-c09d-470d-ba23-a99832acabfa
Posted by junfeng | 0 Comments
Filed under:

KB 329065 Access Denied Error When You Make Code Modifications with Index Services Running

KB article 329065 describes how index services can affect ASP.NET. The root cause of the problem is CreateFile flag FILE_SHARE_DELETE. When the flag is specified, you will be able to delete the file, even it is in use by other applications. The problem
Posted by junfeng | 2 Comments
Filed under:

Fusion binding log and IE cache

By default fusion uses IE cache for the binding log. If IE screwd up, fusion can't write/read binding log from IE cache. If that happens, you can clear IE cache, and fusion binding log should work after that. Of course, if you use custom log path, there
Posted by junfeng | 0 Comments
Filed under:

eWeeks announces Fourth Annual Excellence Award

http://www.eweek.com/article2/0,1759,1560543,00.asp Microsoft Visual Studio.Net 2003, Windows Server 2003 and Office OneNote 2003 are among the winner list. In addition, Office SharePoint Portal Server 2003, System Management Server 2003, Windows Right
Posted by junfeng | 1 Comments
Filed under:

RegDeleteKeyEx

For applications running under WOW, they can't delete a reg key under 64bit hive using RegDeleteKey. They have to use RegDeleteKeyEx . RegDeleteKeyEx exist in advapi32.dll, only in 64bit OS.
Posted by junfeng | 1 Comments
Filed under:

Fusion Global Assembly Cache API

Fusion Global Assembly Cache API is not documented in MSDN, but it is documented in KB article 317540 http://support.microsoft.com/default.aspx?scid=kb;en-us;317540 . I have received many questions about how to use fusion APIs. In the coming weeks I'll
Posted by junfeng | 11 Comments
Filed under:

KEY_WOW64_64KEY and KEY_WOW64_32KEY

This is really about Win32 on Win64, or Windows on Windows, or short for WOW. MSDN has many information about 64 bits Windows here ( http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/64bitwindows.asp ). One particular piece
Posted by junfeng | 1 Comments
Filed under:

Publisher Policy

Alan has a great discussion on assembly binding policies here ( http://blogs.gotdotnet.com/alanshi/commentview.aspx/d4edb084-c625-4b6e-8e5c-7c2580cfcee9 ). I'll just talk about publish policy here. MSDN documents how to create a publisher policy here
Posted by junfeng | 3 Comments
Filed under:
 
Page view tracker