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


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: