Sign in
Junfeng Zhang's Windows Programming Notes
Win32, Fusion, CLR, .Net Framework, and others
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
RSS for posts
Atom
RSS for comments
OK
Search
Tags
.NetFramework
Debugging
Fusion
General
Others
Pages
Troubleshooting
Vista
Win32
Archive
Archives
May 2012
(1)
July 2009
(1)
May 2009
(1)
March 2009
(1)
February 2009
(1)
December 2008
(2)
November 2008
(1)
August 2008
(2)
July 2008
(2)
June 2008
(2)
April 2008
(4)
March 2008
(2)
February 2008
(4)
January 2008
(1)
November 2007
(3)
October 2007
(1)
September 2007
(1)
August 2007
(5)
July 2007
(9)
June 2007
(3)
April 2007
(2)
March 2007
(3)
February 2007
(1)
January 2007
(2)
December 2006
(2)
November 2006
(4)
October 2006
(6)
September 2006
(5)
August 2006
(8)
July 2006
(2)
May 2006
(2)
April 2006
(12)
March 2006
(9)
February 2006
(5)
January 2006
(2)
December 2005
(10)
November 2005
(7)
October 2005
(2)
September 2005
(3)
August 2005
(1)
July 2005
(6)
June 2005
(8)
May 2005
(17)
April 2005
(9)
March 2005
(6)
February 2005
(9)
December 2004
(7)
November 2004
(12)
October 2004
(16)
September 2004
(16)
August 2004
(15)
July 2004
(10)
May 2004
(6)
April 2004
(14)
March 2004
(19)
February 2004
(39)
January 2004
(6)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Junfeng Zhang's Windows Programming Notes
App.config reloading
Posted
over 8 years ago
by
Junfeng Zhang
23
Comments
I have seen the same question asked many times. “I changed app.config while the application is running. But the application does not read the change, unless I restart the application. What should I do?” .Net framework will read the app.config once, and...
Junfeng Zhang's Windows Programming Notes
Netmodule vs. Assembly
Posted
over 8 years ago
by
Junfeng Zhang
7
Comments
In .Net framework Assembly is the minimum unit of deployment. You cannot deploy anything less than an assembly. To CLR, a type does not exist outside of the context of an assembly. Assembly can contain one or more files . The files can be any physical...
Junfeng Zhang's Windows Programming Notes
linkedConfiguration --- a.k.a include in config file
Posted
over 8 years ago
by
Junfeng Zhang
1
Comments
It is common to share an assembly between several applications. Typically you will install the assembly to GAC. When you want to service the assembly, you create a publisher policy assembly, and install the publisher policy assembly to GAC. All...
Junfeng Zhang's Windows Programming Notes
Assembly ProcessorArchitecture and Binding Policy
Posted
over 8 years ago
by
Junfeng Zhang
0
Comments
By now we know assemblies compiled with .Net 2.0 will have ProcessorArchitecture . And we know from Josh's blog , that applications with processorArchitecture MSIL will run as 64 bit processes on 64 bit OS. And of course they will run as 32 bit...
Junfeng Zhang's Windows Programming Notes
Download Cache
Posted
over 8 years ago
by
Junfeng Zhang
0
Comments
Alan has an excellent article on how HTTP assembly download works. http://blogs.gotdotnet.com/alanshi/commentview.aspx/d3b8c7d9-b0c6-47fd-8ddf-20db971ba80d In this article he talked about download cache as well as fusion's interaction with Internet Explorer...
Junfeng Zhang's Windows Programming Notes
AppDomain.AppendPrivatePath is obsolete
Posted
over 8 years ago
by
Junfeng Zhang
11
Comments
In .Net framework 2.0, AppDomain.AppendPrivatePath is marked as obsolete. The deprecation is explained in Gotdotnet.com's break change web site http://www.gotdotnet.com/team/changeinfo/Backwards1.1to2.0/default.aspx#00000102 <quote> Title Cache...
Junfeng Zhang's Windows Programming Notes
IUnkown::Release() implementation
Posted
over 8 years ago
by
Junfeng Zhang
8
Comments
Mike Stall talks about “ Don’t do complicated work in Release() ”. He has a sample implementation for IUnkown::Release(). <quote> An object’s destructor has the same caveats if Release() is often implemented as: InterlockedDecrement(&m_ref)...
Junfeng Zhang's Windows Programming Notes
NGEN, now and then
Posted
over 8 years ago
by
Junfeng Zhang
0
Comments
MSDN magazine just posted a great article about NGEN, written by Reid Wilkes. It is a wonderful read if you want to know how NGEN works, and how to use NGEN. The article is here: NGen Revs Up Your Performance with Powerful New Features http://msdn.microsoft...
Junfeng Zhang's Windows Programming Notes
Duplicate entries in config files
Posted
over 8 years ago
by
Junfeng Zhang
0
Comments
If there are multiple (conflicting) policy statements for the same assembly in a config file, which policy will fusion take? In .Net v1.0/v1.1, we will take the first policy. The rest policies are practically no-op. In .Net 2.0, we will preserve the same...
Page 1 of 1 (9 items)