Probing

Probing is the process to specify the assembly for our application. First of all CLR will look for the assembly in GAC, If no assembly is found there then it will start searching the assembly in specific path described in Probing tag.

What we need to do is, to write this code in web.config file


<Configuration>
<Runtime>
<AssemblyBinding>
<probing PrivatePath=”c:/File;d:/bin”/>
</AssemblyBinding>
</Runtime>
</Configuration>


where private path describe the location of the assembly


Comments

No responses found. Be the first to comment...