Share via


Junfeng Zhang's Musing

things about the world, world of things

100 posts

I started the blog late January this year, when the tide of blogging swept Microsoft. Half a year...

Author: Junfeng Zhang Date: 08/06/2004

Domain Neutral Assemblies

Chris Brumme’s paper on AppDomains goes into great detail about the design of AppDomain. One...

Author: Junfeng Zhang Date: 08/05/2004

3D UI on Windows

One of Chinese fellows in Rice univerity is doing a 3D UI project on Windows....

Author: Junfeng Zhang Date: 08/03/2004

How Microsoft Uses Reflection

MSDN Magazine July 2004 Edition .Net matters section has a very interesting article How Microsoft...

Author: Junfeng Zhang Date: 08/02/2004

AppDomainSetup.DisallowApplicationBaseProbing

AppDomainSetup.DisallowApplicationBaseProbing is a new property we introduced in .Net framework 2.0...

Author: Junfeng Zhang Date: 08/02/2004

What's New in the .NET Framework 2.0 Beta

This is in .Net framework 2.0 SDK beta1 documentation. But oddly enough, this is not in MSDN for...

Author: Junfeng Zhang Date: 08/01/2004

Friend Assemblies

You have some types in your assembly A. And you have some assembly B. You really want assembly B to...

Author: Junfeng Zhang Date: 07/23/2004

What is new in remoting in .Net 2.0?

Matt Tavis told us what is new in remoting in .Net 2.0 in a newgroup post....

Author: Junfeng Zhang Date: 07/23/2004

KB Article 312546: Managed .exe File Sporadically Fails to Run over HTTPS

KB 312546 says running managed executable through HTTPS may not work....

Author: Junfeng Zhang Date: 07/23/2004

Whidbey breaking change --- Caching binding failures

This is one of the breaking change mentioned in gotdotnet.com's break change from .Net 1.1 to 2.0...

Author: Junfeng Zhang Date: 07/22/2004

Assembly.Load* now apply policy

Gotdotnet.com has a link to the breaking change from .Net framework 1.1 to .Net framework 2.0. It...

Author: Junfeng Zhang Date: 07/22/2004

AppDomain.ApplyPolicy

If you have dealt with assembly loading, chances are you have asked this question: How do I know...

Author: Junfeng Zhang Date: 07/18/2004

MultiModule Assemblies

If you are programming with .Net framework, you will deal with Assemblies all the time. After all,...

Author: Junfeng Zhang Date: 07/15/2004

Can .NET framework 2.0 assemblies run under .Net framework 1.1?

Short answer: NO. Long answer: In .Net framework 2.0 many features are added. Many features(Generics...

Author: Junfeng Zhang Date: 07/14/2004

Dynamic PInvoke

CLR provides platform invoke mechanism to enable managed applications to call unmanaged APIs...

Author: Junfeng Zhang Date: 07/14/2004

How to enable CLR Server GC?

This is one of the mostly asked questions about CLR GC. CLR's GC has two modes: Server GC and...

Author: Junfeng Zhang Date: 07/13/2004

echo '>' and '<'

'>' and '<' are special characters in command prompt. They means input and output redirect. So...

Author: Junfeng Zhang Date: 05/14/2004

Accessing Resources Using LoadFrom Locks Assembly

Mark Tucker asks this question: <quote> I have the need to place a resources-only assembly in...

Author: Junfeng Zhang Date: 05/13/2004

Error 1709 when install .Net framework 1.1

Error 1709 is that Microsoft installer is not registered. “msiexec.exe /regserver”...

Author: Junfeng Zhang Date: 05/09/2004

Assembly loading failure when shadowcopy is enabled on multiple appdomains

There is a known assembly loading race in .Net framework 1.0 and 1.1 when shadow copy is enabled in...

Author: Junfeng Zhang Date: 05/06/2004

Premature optimization is the root of all evil

Larry Osterman posted a blog about optimization...

Author: Junfeng Zhang Date: 05/04/2004

Relative Path

Relative path is used a lot in Win32, and it makes sense. When I say relative path, I mean relative...

Author: Junfeng Zhang Date: 05/04/2004

Image File Execution Options

There is well-known (or not so well-known, depending on what you do) feature in NT family system,...

Author: Junfeng Zhang Date: 04/28/2004

AssemblyResolve Event

CLR uses documented heuristics to probe assemblies. If assembly can't be found through the standard...

Author: Junfeng Zhang Date: 04/25/2004

Deployment in windows

Mike wrote a blog about deployment in windows. (Versioning - source of all good or evil? ). There...

Author: Junfeng Zhang Date: 04/17/2004

Slow appdomain shutdown

If you have a lot assemblies loaded in the appdomain, you may experience slow appdomain shutdown,...

Author: Junfeng Zhang Date: 04/17/2004

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...

Author: Junfeng Zhang Date: 04/16/2004

Java class data sharing

Java 1.5 introduces class data sharing:...

Author: Junfeng Zhang Date: 04/12/2004

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:...

Author: Junfeng Zhang Date: 04/09/2004

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...

Author: Junfeng Zhang Date: 04/08/2004

eWeeks announces Fourth Annual Excellence Award

https://www.eweek.com/article2/0,1759,1560543,00.asp Microsoft Visual Studio.Net 2003, Windows Server...

Author: Junfeng Zhang Date: 04/06/2004

RegDeleteKeyEx

For applications running under WOW, they can't delete a reg key under 64bit hive using RegDeleteKey....

Author: Junfeng Zhang Date: 04/06/2004

Fusion Global Assembly Cache API

Fusion Global Assembly Cache API is not documented in MSDN, but it is documented in KB article...

Author: Junfeng Zhang Date: 04/05/2004

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...

Author: Junfeng Zhang Date: 04/05/2004

Publisher Policy

Alan has a great discussion on assembly binding policies here...

Author: Junfeng Zhang Date: 04/05/2004

Jim Hugunin: IronPython: A fast Python implementation for .NET and Mono

Jim Hungunin posted a paper about an implementation of Python for .Net IronPython: A fast Python...

Author: Junfeng Zhang Date: 03/30/2004

Alan's rebuttal to Chris Sells' "Avoid the GAC"

Alan writes a blog to rebut Chris Sells' “Avoid the GAC”. Chris does have a point to...

Author: Junfeng Zhang Date: 03/29/2004

ngen app.exe asm1 asm2

This is a follow up of my previous post. Ngen.exe accepts options like “ngen app.exe asm1 asm2...

Author: Junfeng Zhang Date: 03/27/2004

JIT Compilation and Performance - To NGen or Not to NGen?

Jeffrey Richter is easily one of my favorite authors. His book “Programming Applications for...

Author: Junfeng Zhang Date: 03/27/2004

The located assembly's manifest definition with name xxx.dll does not match the assembly reference

This is a very common Assembly.Load failure exception text. In fusion terminology, this is called...

Author: Junfeng Zhang Date: 03/25/2004

Dating Design Patterns

https://www.datingdesignpatterns.com/

Author: Junfeng Zhang Date: 03/22/2004

VS won't reference assemblies in GAC

This is by design. The reason is that assemblies installed in YOUR development machine is not...

Author: Junfeng Zhang Date: 03/22/2004

UCOMIStream interface

UCOMIStream interface is the managed definition for COM IStream interface. You can use it to interop...

Author: Junfeng Zhang Date: 03/22/2004

OpenThreadToken

OpenThreadToken returns an access token for the specific thread. OpenThreadToken will fail with...

Author: Junfeng Zhang Date: 03/16/2004

MSDN newsgroups

MSDN has a web based news reader for all the microsoft public newsgroups at...

Author: Junfeng Zhang Date: 03/16/2004

Get HResult out of System.Exception class

System.Exception has a protected property HResult. To read the property, use...

Author: Junfeng Zhang Date: 03/16/2004

Platform Invoke Resources

This is a post from CLR team to newsgroup microsoft.public.dotnet.framework.clr. "Jesse Kaplan"...

Author: Junfeng Zhang Date: 03/15/2004

When an Assembly.Load is not really Assembly.Load

This is an interesting discovery I find when I was investigating a regression. The following code is...

Author: Junfeng Zhang Date: 03/12/2004

<Previous Next>