Junfeng Zhang's Musing

things about the world, world of things

April, 2004

  • Junfeng Zhang's Musing

    Image File Execution Options

    • 25 Comments
    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...
  • Junfeng Zhang's Musing

    KEY_WOW64_64KEY and KEY_WOW64_32KEY

    • 1 Comments
    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...
  • Junfeng Zhang's Musing

    AssemblyResolve Event

    • 11 Comments
    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...
  • Junfeng Zhang's Musing

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

    • 2 Comments
    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...
  • Junfeng Zhang's Musing

    RegDeleteKeyEx

    • 1 Comments
    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.
  • Junfeng Zhang's Musing

    Fusion binding log and IE cache

    • 0 Comments
    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...
  • Junfeng Zhang's Musing

    Fusion Global Assembly Cache API

    • 11 Comments
    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...
  • Junfeng Zhang's Musing

    So which CLR will my app use?

    • 0 Comments
    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...
  • Junfeng Zhang's Musing

    Publisher Policy

    • 3 Comments
    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...
  • Junfeng Zhang's Musing

    Java class data sharing

    • 5 Comments
    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...
  • Junfeng Zhang's Musing

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

    • 0 Comments
    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
  • Junfeng Zhang's Musing

    Slow appdomain shutdown

    • 0 Comments
    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...
  • Junfeng Zhang's Musing

    Deployment in windows

    • 2 Comments
    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...
  • Junfeng Zhang's Musing

    eWeeks announces Fourth Annual Excellence Award

    • 1 Comments
    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...
Page 1 of 1 (14 items)