Senator Guerra Souty original series calendar,replica hublot blue steel peach pointer collocation of rolex replica Rome digital scale, track type minute replica watches scale shows that the classical model is swiss replica watches incomparable, wearing elegant dress highlights.
mr-ponna.com

 

YOU ARE HERE: HOME Questions What is probing in net



Probing in .Net

View(s): 12804

What is probing in .net?

Answer 1)

Probing
 is the process of locating assembly (dll) required to the Application.
In .Net framework when resolve an assembly reference, CLR first checks GAC, then search the application directory in specific locations.

If the referenced assembly is not found in the application base and no culture information is provided, the runtime searches any subdirectories with the assembly name. The directories probed include:

   [application base] / [assembly name].dll
   [application base] / [assembly name] / [assembly name].dll

If culture information is specified for the referenced assembly, only the following directories are probed:

   [application base] / [culture] / [assembly name].dll
   [application base] / [culture] / [assembly name] / [assembly name].dll

If the assembly is not in one of those locations, CLR will fire AssemblyResolve event. You can subscribe to AssemblyResolve event and return the assembly using Assembly.LoadFrom/LoadFile/Load(byte[]).

  Asked in:  ValueLabs   Expertise Level:  Experienced
  Last updated on Saturday, 09 November 2013
3/5 stars (5 vote(s))

Register Login Ask Us Write to Us Help