Junfeng Zhang's Musing
learn.microsoft.com/en-us/archive/blogs/junfeng
things about the world, world of things
- Posts
- 339 from 28 Jan 2004 to 7 May 2012
- Posting
- archived, read-only
- Kind
- personal blog
- Feed
- https://learn.microsoft.com/en-us/archive/blogs/junfeng/feed.xml
2012 1
2009 4
2008 20
- Exception Filter
- ThreadPool.BindHandle
- ThreadPool.UnsafeQueueNativeOverlapped
- Conversion between System.String and char *
- XXX is not a valid Win32 application
- Managed ThreadPool vs Win32 ThreadPool (pre-Vista)
- Managed Watson Dump
- Inspect a 32 bit Process Dump Generated by a 64 bit Debugger
- Getting a Full Memory Dump for a Process
- Event Handles “leak”
- Use !htrace to debug handle leak
- Consider Creating a new class for locking
- A case study of a NullReferenceException
- App Config’s root element should be namespace-less
- Getting the right exception context from a memory dump
- Calculating the size of each GC generation
- Figuring out object allocation graph from a managed memory dump
- Windows Update Error 0x800A0030
- Windows Performance Tools Kit
- Reverse P/Invoke and exception
2007 30
- From Unhandled Exception to Debugger Attach
- Assembly Loading and Authorization
- Mismatched PDBs --- Why?
- Windows Vista Sxs Activation Context Cache
- Configuring IIS to Run 32-bit or 64 bit Applications on 64-bit Windows (IIS 6.0)
- MiniDumpAuxiliaryDlls and KnownManagedDebuggingDlls
- Loading CLR DAC dll from a different path
- The Unusual Ref/Def Mismatch FileLoadException
- The sequence of interactions between CLR loader and fusion during Assembly.Load
- advantages and disadvantages of delay load (LoadLibrary)
- Lock(object) and ThreadAbortException
- Don't catch all exceptions
- Finding Memory leaks
- Questions and Suggestions -- July 20th Edition
- 64 bit gacutil.exe
- Unknown exception 0xe0434f4e
- BadImageFormatException maybe thrown when loading a valid assembly
- Reverse P/Invoke Marshaling Performance
- Break on exception in Windows Debugger
- RT_MANIFEST resource, and ISOLATION_AWARE_ENABLED
- Diagnose SideBySide failures in Windows XP/Windows Server 2003
- Activation Context Creation flow
- Genman32 – A tool to generate Sxs manifest for managed assembly for Registration Free COM/.Net Interop
- Connect Kernel Debugger to a Virtual PC/Virtual Server virtual machine
- Understand why your computer restarted unexpectedly
- Java 2007: The year in preview
- Sxstrace for Windows XP and Windows Server 2003
- Native Image Loading
- How to tell if the current user is in administrators group programmatically
- The CLR Add-in team blog
2006 57
- Java SE 6 is released
- Questions and suggestions
- Debugging LoadLibrary Failures
- GAC Temp and Tmp
- The Windows Vista Developer Story: Application Compatibility Cookbook
- Installing SxS assemblies in Vista
- IE7 CPU spike and AJAX extensive web sites
- Touch the exe, after you added a manifest for it, in Vista
- Title change
- Application Shutdown Changes in Windows Vista
- Programmatically determine if an application requires elevation in Windows Vista
- dynamic_cast is slow in x64
- Run/RunOnce/RunOnceEx Registry Key
- .Net Security Configuration in 64 bit OS
- Windows XP may reboot when encounter certain manifest files
- MSDN Wiki
- COM activation change in Windows Vista
- Mark Russinovich started blogging in technet
- Windows Vista System Internals
- Detours
- RegOverridePredefKey
- Find out which application handles a certain file extension
- Application config file is not used if the application has certain SxS manifest
- REG FLAGS /?
- System Services change in Windows Vista
- System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
- Assembly.GlobalAssemblyCache Property
- Sample: Mixing Unmanaged C++, C++/CLI, and C# code
- Registration Free COM/.Net interop
- Condition Variables
- Private Object Namespace
- Sxs --- Activation Context, Binding, Policy and Probing
- Alternate Data Stream
- COM activation, Registration Free COM activation, COM/.Net Interop, Registration Free COM/.Net Interop
- Questions and suggestions
- LoadLibrary returns the module was first loaded
- Most Recent Published Knowledge Base Articles for .NET Framework 2.0 RSS Feed
- Multi-path on DEVPATH v2.0 QFE is available
- Symbolic link in Windows Vista
- CLR Inside Out: The Performance Benefit of NGEN
- Diagnosing SideBySide failures
- IAsyncResult Implementation Compliant
- Override CLR Assembly Probing Logic --- IHostAssemblyManager/IHostAssemblyStore
- SXS Activation Context --- Activate and Deactivate
- Determine the processorArchitecture of the running process from managed code
- disableCachingBindingFailures
- Generics, NGEN, and Domain Neutral
- Assembly Delay Sign and Assembly Installation
- Assembly Signing Frequently Asked Questions
- Fuslogvw on Windows Vista
- URL Case Sensitivity, Again
- Debugging mysterious application crash
- A few things about uninstall files
- Locally Unique ID
- DotLocal (.local) Dll Redirection
- Error 0x80131702 when installing .Net framework 2.0 Redist
- Thread.GetData/Thread.SetData scalability issue and workaround
2005 74
- Satellite assembly and AssemblyResolve event
- Parent Assembly Hint
- Assembly loading failure is expensive
- Publisher Policy --- Highest version, which highest?
- ReflectionOnlyAssemblyResolve Event
- DEVPATH
- CLR is uninstalled. Now what?
- Running MSIL applications as 32 bit in 64 bit OS
- Break when ntdll.dll is mapped
- .Net Framework Featured Blogs
- Module Initializer (a.k.a Module Constructor)
- Don't do Shell Extension Handlers in .NET
- Brad Abrams --- API design hall of shame
- Assembly loading and AppDomain.AssemblyLoad Event
- Assemblies --- Referencing and servicing
- Host and Add-ins --- sharing host assemblies
- GAC Assemblies: Install and Uninstall
- Enumerate the assembly identity attributes of a given assembly
- Getting the full display name of an assembly given the path to the manifest file
- Thomas Quinn on Addins
- ProcessorArchitecture and Assembly.FullName
- useLegacyIdentityFormat
- Publisher policy, redirection cross major/minor version, and using the latest version
- Enumerating CLR versions
- How do I know if console handle is redirected?
- Domain Neutral Assemblies and AssemblyResolveEvent handler
- Assembly.Load() followed by Assembly.LoadFrom()?
- Figure out the bitness of a process and the ProcessorArchicture of the system
- AssemblyName.ReferenceMatchesDefinition
- The Future of Assembly Versioning
- Customizing the Microsoft .NET Framework Common Language Runtime
- Sharing NGEN image in Multi-Domain Host
- Trap Ctrl+C
- Friend assemblies change post .Net framework 2.0 beta1
- MSI Install-On-Demand
- Assemblies in LoadFrom context can’t be domain neutral, and can’t use NGEN
- Assembly.LoadFrom
- CLR Side by Side and Compatibility
- On Plug-ins and Extensible Architectures
- Assemblies Side by Side
- Publisher Policy revisit
- GAC Internals Are Implementation Detail
- Per-User GAC
- Using GAC
- How do I mix C# and C++ code in a single assembly?
- How to find out where Assembly.Load(String) would load an assembly from without actually doing it?
- Dynamic nature of CLR assemblies loading
- Disclaimer
- DELETE PEND == ERROR_ACCESS_DENIED
- SQLCLR team starts blogging
- ReflectionOnlyAssemblyLoad and binding policy
- Ars Technica's Mac OS 10.4 Tiger Review
- Questions and suggestions
- Test your platform specific assemblies
- Strong name EXEs
- Questions and Topics Suggestions
- Isolated Applications and Side-by-side Assemblies
- Assembly Identity --- ReferenceIdentity and DefinitionIdentity, Comparison and Transformation
- foofoo.dll
- New blogs.msdn.com, new theme, and new comment limit day
- Best feature in Outlook 2003 --- Search Folders
- URL Case Sensitivity and Assembly Loading
- Why LoadLibrary is much slower than GetModuleHandle for dll that is already loaded?
- URL and Assembly Loading
- Http Compression and Assembly loading
- IUnkown::Release() implementation
- Download Cache
- AppDomain.AppendPrivatePath is obsolete
- App.config reloading
- NGEN, now and then
- Netmodule vs. Assembly
- linkedConfiguration --- a.k.a include in config file
- Duplicate entries in config files
- Assembly ProcessorArchitecture and Binding Policy
2004 153
- Microsoft at Year's End
- Fusion Workshop
- Herb Sutter discusses C++/CLI's deterministic destruction
- misconcept about domain neutral assemblies
- IBM sells PC group to Lenovo
- Setting Host Policy in appdomain
- CLR in Channel 9
- Creating a publisher policy
- Less is more
- System.EnterpriseSe#?
- Codebase hint in config files
- Mscorlib.ni.dll
- You don't want to initialize global variables
- Single Servicing
- Programming Legends Debate .Net, J2EE
- Assembly.LoadFrom/LoadFile/Load(byte[]) prefers GAC
- Windows XP Look & Feel with manifest
- Error 500--Internal Server Error ---- From https://www.theserverside.net
- Manish on Remoting
- .Net 1.0/1.1 applications on Win64
- .Net framework SP and Publisher Policy
- JavaRss.com
- Should we put apphack in .Net 2.0?
- Diagnose "Access Denied" error on Assembly Loading
- Aspnet.Config
- Contact me in email
- techpreview.search.msn.com
- Via said, Our chips can do 64 bit computing
- Obsfucation
- October 1, China's National Day
- Microsoft Community Blogs
- Platform SDK for Windows XP Service Pack 2 is released
- J2SE 5.0 released
- Assembly binding vs Assembly Loading
- When AssemblyResolve handler meets AssemblyResolve handler
- Update of Managed GAC API wrappers and test applications
- Diagnose Assembly Loading Failures
- Gacutil does not show ngen cache's content in .Net 2.0
- Why do you use GAC APIs?
- ATI's latest driver's Catalyst Control Center Written in .Net framework
- Sample for using GAC APIs, Sample of Managed GAC API Wrappers, and a Test Application for Managed GAC API Wrappers
- Test Application for Managed GAC API Wrappers
- Sample Managed GAC API Wrappers
- Fusion GAC API Samples
- Assembly Display Name
- The new MSDN web site
- GAC Assembly Trace Reference
- mscorlib.dll is in GAC now in .Net framework 2.0
- GAC, Assembly ProcessorArchitecture, and Probing
- Deploying assemblies using cab files
- Reflection Only Assembly Loading
- Assembly binding Closure discovery tool
- Assemblies in GAC and their dependencies
- Funny Techie Stories
- Assembly ProcessorArchitecture
- AMD64? X86-64? EM64T? X64? Anymore?
- CLR Managed Debugger (mdbg) Sample
- 100 posts
- Domain Neutral Assemblies
- 3D UI on Windows
- How Microsoft Uses Reflection
- AppDomainSetup.DisallowApplicationBaseProbing
- What's New in the .NET Framework 2.0 Beta
- Friend Assemblies
- What is new in remoting in .Net 2.0?
- KB Article 312546: Managed .exe File Sporadically Fails to Run over HTTPS
- Whidbey breaking change --- Caching binding failures
- Assembly.Load* now apply policy
- AppDomain.ApplyPolicy
- MultiModule Assemblies
- Can .NET framework 2.0 assemblies run under .Net framework 1.1?
- Dynamic PInvoke
- How to enable CLR Server GC?
- echo '>' and '<'
- Accessing Resources Using LoadFrom Locks Assembly
- Error 1709 when install .Net framework 1.1
- Assembly loading failure when shadowcopy is enabled on multiple appdomains
- Premature optimization is the root of all evil
- Relative Path
- Image File Execution Options
- AssemblyResolve Event
- Deployment in windows
- Slow appdomain shutdown
- So which CLR will my app use?
- Java class data sharing
- mscorlib.resources couldn't be found! Large parts of the BCL won't work!
- Fusion binding log and IE cache
- eWeeks announces Fourth Annual Excellence Award
- RegDeleteKeyEx
- Fusion Global Assembly Cache API
- KEY_WOW64_64KEY and KEY_WOW64_32KEY
- Publisher Policy
- Jim Hugunin: IronPython: A fast Python implementation for .NET and Mono
- Alan's rebuttal to Chris Sells' "Avoid the GAC"
- ngen app.exe asm1 asm2
- JIT Compilation and Performance - To NGen or Not to NGen?
- The located assembly's manifest definition with name xxx.dll does not match the assembly reference
- Dating Design Patterns
- VS won't reference assemblies in GAC
- UCOMIStream interface
- OpenThreadToken
- MSDN newsgroups
- Get HResult out of System.Exception class
- Platform Invoke Resources
- When an Assembly.Load is not really Assembly.Load
- RuntimeEnvironment class
- Killing each other
- Assemblies, load context
- hh ntcmds.chm
- How to tell if a DLL is 64 bit or 32 bit
- Assembly listing Tool
- Console unicode output
- jusched.exe
- Moving from Win32 to .Net
- Performance: One big assembly vs several small assemblies.
- Chris Brumme discusses Finalization
- Cost of calling unmanaged code from managed C++
- Alan discussed Unification Policy
- new MSN Explorer
- How "safe" (from a best practice and supportability perspective) is the use of DLL injection techniques?
- Why recursive directory copy does not exist, and why it should not.
- Microsoft Virtual Server 2004 begins beta test
- Fun stuff with \?
- How is lock keyword of C# implemented?
- File Not Found vs Network Path not found
- Windows XP and ClearType
- Fusion binding log and fuslogvw.exe
- FileVersion and GAC
- foo.exe and foo.dll
- AppDomainSetup explained
- Return to fusion land
- AppDomain and Shadow Copy
- WritePrivateProfileString and AnitVirus
- vim and Windows Server 2003
- How to make an application as both GUI and Console application?
- How to tell if an assembly is delay signed or not.
- New categories
- Longest Java Class Name
- How to tell if some file is managed assembly or not?
- GetPrivateProfileString/WritePrivateProfileString
- How to detect .Net Framework installed in a web client?
- How to detect .Net framework installed or not.
- Very long assembly name
- User friendly file name
- Where is .Net framework installed?
- How to get thread id for a managed thread?
- How to create circularly referenced assemblies
- Microsoft.Net Framework 1.1 setup has ended prematurely
- Name of your-app.exe
- Binding Context and LoadFrom
- Binding Policy
- Partial name binding
- Hello, World