Ambient transaction in .net

Posted on July 9th, 2009 in .Net Framework | No Comments »

Just leave a link here, I’ll write tomorrow!

Appdomain and assembly in .net Framework

Posted on July 9th, 2009 in .Net Framework | No Comments »

Appdomain is new application boundary in .net applications. Different appdomains can run in a single process,they can share assemblies or they can keep assemblies for their own.
By default ,every appdomain should load assemblies they needed,they don’t share them.To change this,we can put a LoaderOptimizationAttribute on the entry function of the application ,It can be assigned with any of the following LoaderOptimization enumeration
1.SingleDomain each appdomain has their own assemblies(they share nothing)
2.MultiDomain they try to share as many as they can (a assembly that can be share by different appdomain must be domain neutral)
3.MultiDomainHost only assemblies load from GAC is shared cross appdomain.

some caution:
1.Assemblies load by using Assembly.Load() or LoadFrom() method can not be shared.

2.All the dependencies of an assembly must be located and loaded when the assembly is loaded domain-neutral, because a dependency that cannot be loaded domain-neutral prevents the assembly from being loaded domain-neutral.

3.Each appdomain has its own static data ,when using a shared assembly.

4.An shared assembly could be jit-compiled more times when the appdomain who shared the assembly has different security rights.

The Travels of Marco Polo Chapter I (1)

Posted on June 1st, 2009 in Uncategorized | No Comments »

Some new words

1.proceed

To move, pass, or go forward or onward; to advance; to continue or renew motion begun; as, to proceed on a journey; To pass from one point, topic, or stage, to another; as, to proceed with a story or argument; To issue or come forth as from a source or origin; to come from; as, light proceeds …
eg.Shall we proceed with the planned investment?

2.proceeding
The act of one who proceeds, or who prosecutes a design or transaction; progress or movement from one thing to another; a measure or step taken in a course of business; a transaction; as, an illegal proceeding; a cautious or a violent proceeding; Plural, see proceedings

My first blog!

Posted on June 1st, 2009 in My lifestyle | No Comments »

Today is June 1,2009,this is my first blog,make a mark!