Resources » Code Snippets » C# Syntax

Probing


Posted Date: 17-Jun-2008  Last Updated:   Category: C# Syntax    
Author: Member Level: Gold    Points: 8



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


Did you like this resource? Share it with your friends and show your love!

Responses to "Probing"

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

Feedbacks      

Post 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:   Sign In to fill automatically.
    Email: (Will not be published, but required to validate comment)



    Type the numbers and letters shown on the left.


    Submit Article     Return to Article Index

    Subscribe to Subscribers
    Active Members
    Today
      Last 7 Daysmore...

      Awards & Gifts
      Talk to Webmaster Tony John
      Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India